Bug 1318340 - incorrect mouse pointer movement after screen rotation in vmware 11
Summary: incorrect mouse pointer movement after screen rotation in vmware 11
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-drv-vmmouse
Version: 6.8
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Peter Hutterer
QA Contact: Desktop QE
Lucie Vařáková
URL:
Whiteboard:
Depends On:
Blocks: 1322712 1360926 1361531 1361532
TreeView+ depends on / blocked
 
Reported: 2016-03-16 15:00 UTC by Martin Krajnak
Modified: 2017-01-02 13:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Cause: If screen rotation is changed inside a vm in VMWare 11, the pointer movement remains as-before. This only happens when the xorg-x11-drv-vmware driver is used which initializes an absolute-axes device rather than a relative-axes device. Consequence: The pointer movement does not follow the expected path because the driver is still mapping to the original coordinate system, e.g. a right movement may now be a down movement, depending on the rotation. Workaround (if any): The device needs to be manually rotated by the user, for example with the following command: xinput set-prop "ImPS/2 Generic Wheel Mouse" "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1 Note that is only one example for a rotation, depending on the rotation angle this matrix needs to be adjusted. Result: Once the matrix is applied, pointer movement matches the rotation of the screen.
Clone Of:
: 1322712 1361531 (view as bug list)
Environment:
Last Closed: 2016-08-25 23:53:06 UTC
Target Upstream Version:


Attachments (Terms of Use)
screenshot.jpg (995.36 KB, image/png)
2016-03-16 15:00 UTC, Martin Krajnak
no flags Details

Description Martin Krajnak 2016-03-16 15:00:15 UTC
Created attachment 1137081 [details]
screenshot.jpg

Description of problem:
After changing screen rotation in vm, the mouse movement is still acting like no rotation was done.

Version-Release number of selected component (if applicable):
kernel 2.6.32-625
xorg-x11-drv-vmmouse-13.1.0-1

How reproducible:
always

Steps to Reproduce:
1. Run vmware 11 player
2. Run rhel 6.8 as vm
3. In panel click System->vmware->Display
4. Choose any rotation from menu (Left in my case)
5. Click apply
6. Try right click on desktop

Actual results:
Screen content is successfully rotated left, but mouse movement is still behaving as it was behaving before, left rotation was toggled on. So the menu after right click is showed in different part of screen.

Expected results:
Should open the menu (after right click), exactly where the mouse pointer is.
Mouse movement should be like(Left rotation):
mouse move up = move left on display
mouse move down = move right on display etc.

Additional info:
Same behaviour could be examined with panning.
xrandr  --output LVDS --panning 2560x1440
The position of mouse after toggling panning on is also incorrect.

Comment 2 Peter Hutterer 2016-03-17 03:24:17 UTC
Is this a regression or a existing issue?

Comment 3 Martin Krajnak 2016-04-14 13:53:56 UTC
It is not possible to set rotation in rhel 6.7 vm, so we cannot verify if it is regression or not.

Comment 4 Peter Hutterer 2016-08-25 23:32:27 UTC
Please see Bug 1322712#c3 for an explanation of why this bug was rejected.

Comment 5 RHEL Program Management 2016-08-25 23:53:06 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


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