Bug 1005411 - Input grab misbehavior when showing/hiding second display
Input grab misbehavior when showing/hiding second display
Status: NEW
Product: Virtualization Tools
Classification: Community
Component: virt-viewer (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Daniel Berrange
Depends On:
  Show dependency treegraph
Reported: 2013-09-06 16:30 EDT by Jonathon Jongsma
Modified: 2014-09-07 19:10 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathon Jongsma 2013-09-06 16:30:43 EDT
Description of problem:
When hiding and showing the second display of a guest, sometimes the input of the host gets into a strange state which doesn't allow you to move windows around or open menus on certain windows, etc.

Version-Release number of selected component (if applicable):
git commit 67ed4dff9829a1d957aebba9223028f6805dfafb

How reproducible:

Steps to Reproduce:
1. Set up a guest with 2 displays
2. Connect to guest with virt/remote-viewer.  2 display windows should be opened.
3. Click "View > Displays > Display 2" to hide the second display window
4. Now repeate step 3 to open the second display window again

Actual results:
The second display window is displayed, but that window cannot be moved or resized, and e.g. the gnome-shell overview cannot be activated

Expected results:
Window is displayed and functional

Additional info:
Activating a menu in the second display window seems to break the mouse grab and the window can then be moved / resized, etc.  The issue also doesn't happen if you run the program with SPICE_NOGRAB=1

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