Bug 1010402 - Mouse input gets sent to wrong display when using guest config tools to re-arrange displays
Mouse input gets sent to wrong display when using guest config tools to re-ar...
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-20 13:24 EDT by Jonathon Jongsma
Modified: 2016-05-25 10:53 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-05-25 10:53:39 EDT
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-20 13:24:14 EDT
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:

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 10:53:39 EDT
It is fixed in virt-viewer for a while

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