Bug 700874

Summary: Pointer grabbing on Ctrl+Alt over high latency networked X11 disrupts workflow
Product: Red Hat Enterprise Linux 5 Reporter: Laszlo Ersek <lersek>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED WORKSFORME QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6CC: jeder, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-18 23:26:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.