| Summary: | incorrect mouse pointer movement after screen rotation in vmware 11 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Martin Krajnak <mkrajnak> | ||||
| Component: | xorg-x11-drv-vmmouse | Assignee: | Peter Hutterer <peter.hutterer> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Desktop QE <desktop-qa-list> | ||||
| Severity: | high | Docs Contact: | Lucie Vařáková <lmanasko> | ||||
| Priority: | high | ||||||
| Version: | 6.8 | CC: | btissoir, peter.hutterer, tcapek, tpelka | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| 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.
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 1322712 1361531 (view as bug list) | Environment: | |||||
| Last Closed: | 2016-08-25 23:53:06 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: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1322712, 1360926, 1361531, 1361532 | ||||||
| Attachments: |
|
||||||
Is this a regression or a existing issue? It is not possible to set rotation in rhel 6.7 vm, so we cannot verify if it is regression or not. Please see Bug 1322712#c3 for an explanation of why this bug was rejected. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. |
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.