unity-2d-panel fails to react to single mouse click in virtual session (VNC/NX)

Bug #866046 reported by Eugene San
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
unity-2d
Invalid
Medium
Unassigned
unity-2d (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

unity-2d-panel fails to react to single mouse click in virtual session (VNC/NX).
Panel reacts only If mouse button left pressed.

Rest of the objects (including unity-2d-launcher) are working normally.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity-2d 4.12.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Tue Oct 4 11:17:49 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity-2d
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Eugene San (eugenesan) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-2d (Ubuntu):
status: New → Confirmed
Revision history for this message
Aaron Sowry (fq-airin-x0) wrote :

Also affects 12.04 Alpha.

tags: added: precise
Revision history for this message
Aaron Sowry (fq-airin-x0) wrote :

As it turns out, the "proper" behaviour is actually what we're seeing in VNC/NX. Since the menu itself has been implemented as a seperate process to the panel applet, a single-click on the applet is interpreted as the mouse button being released *outside* of the menu, which results in the menu closing unless you move the mouse pointer down inside the menu before releasing.

The "desirable" behaviour we're seeing at the local console is only possible thanks to a number of GDK event filters which have been implemented by Canonical, possibly to try and work around this problem. Further, it seems that the X11 core event code has been removed at some point and replaced with XInput2 code, which neither VNC nor NX currently support (see service/panel-service.c:event_filter()).

So it seems that the main issue here is the lack of support for X11 core events in the 2D panel. It's worth noting that without this support, no major remote desktop implementation will exhibit the desired behaviour on Ubuntu, and since there are no easy workarounds, this really needs to be fixed in Unity 2D in order to support remote access properly.

Gerry Boland (gerboland)
Changed in unity-2d:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
ITEAS (info-tux-pc) wrote :

The same here Ubuntu 12.04

Revision history for this message
ITEAS (info-tux-pc) wrote :

Is there a solution?

Greetings

Changed in unity-2d:
status: Confirmed → Invalid
Changed in unity-2d (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.