Bug 1010402

Summary: Mouse input gets sent to wrong display when using guest config tools to re-arrange displays
Product: [Community] Virtualization Tools Reporter: Jonathon Jongsma <jjongsma>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: pgrunt, rbalakri, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-25 14:53:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jonathon Jongsma 2013-09-20 17:24:14 UTC
Description of problem:
It's possible to get into a situation where clicking in one display actually registers as a click in a different display when the display geometry has been changed using the configuration tools in the guest

Version-Release number of selected component (if applicable):
virt-viewer from git
RHEL 6.4 guest with 2 displays

How reproducible:
always

Steps to Reproduce:
1. Open virt-viewer with a RHEL guest that has 2 displays configured
2. In the guest, open display configuration tool (System > Preferences > Display)
3. The Display config tool should show two displays side-by-side
4. Re-arrange the monitors by dragging the one on the left so it is now on the right
5. Click 'Apply'


Expected results:
What is displayed on each screen should not change, but the relationship between the displays (e.g. the edge that you drag a window off to move it to between displays) will be different. Everything else should work normally.


Actual results:
- The content of the two monitors becomes swapped (e.g. applications that were displayed on display 1 are now displayed on monitor 2)
- The mouse input still behaves as if the content was not swapped. In other words: in order to interact with a window on Display 1, you need to click the point on Display 2 where the window would be if it were drawn on Display 2.


Additional info:

Comment 1 Pavel Grunt 2016-05-25 14:53:39 UTC
It is fixed in virt-viewer for a while