Bug 700874 - Pointer grabbing on Ctrl+Alt over high latency networked X11 disrupts workflow
Summary: Pointer grabbing on Ctrl+Alt over high latency networked X11 disrupts workflow
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-viewer
Version: 5.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-29 17:16 UTC by Laszlo Ersek
Modified: 2012-11-29 11:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-18 23:26:36 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Laszlo Ersek 2011-04-29 17:16:26 UTC
Description of problem:

virt-viewer has no option to disable grabbing the mouse when Ctrl+Alt is pressed. I use Ctrl+Alt very frequently to invoke utilities and to switch virtual desktops in my window manager. When the virt-viewer window is forwarded from the US to Brno over ssh, such an unintended pointer grab is a catastrophe, because the event queue gets flooded with pointer movement and I can't get the pointer back for tens of seconds. It completely disrupts my workflow.

Version-Release number of selected component (if applicable):

virt-viewer-0.0.2-3.el5
virt-manager-0.6.1-13.el5

How reproducible:

Always.

Steps to Reproduce:
1. Log into a remote machine via SSH, with X11 forwarding, over a high latency link.
2. Start virt-viewer.
3. Click in the window or press Ctrl+Alt.
4. Move the mouse around a bit (which you normally do before you notice that your pointer was grabbd), then press Ctrl + Alt again.
5. Wait for 10-20 seconds until the mouse is released.
6. Be sure *not* to press Ctrl + Alt again, but click away into another window.

Actual results:

Mouse pointer taken hostage for extended periods of time.

Expected results:

Since priority queueing between events would probably be overkill, I'm asking for an option that disables the *grab* (not the *ungrab*) on Ctrl+Alt. Thus the only way for virt-viewer to grab the pointer would remain a deliberate click into the window.

Additional info:

I can try implementing the feature if the bug report is deemed to have merit. Thank you.

Comment 1 Laszlo Ersek 2012-10-18 23:26:36 UTC
No use in letting old bugs lie around. I learned to use Ctrl+Alt cautiously.


Note You need to log in before you can comment on or make changes to this bug.