Bug 13624 - Mouse cursor issues with mixed rotation
Summary: Mouse cursor issues with mixed rotation
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-12 09:38 UTC by Adr3nal D0S
Modified: 2007-12-12 15:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Adr3nal D0S 2007-12-12 09:38:11 UTC
Now that basic xrandr works with my configuration, I have found problems with the mouse cursor.  I have a monitor configuration where my laptop's LVDS is oriented normally but my external VGA-0 monitor is left-rotated into portrait orientation as follows:

    +-----+ +---+
    |     | |   |
    +-----+ |   |
            |   |
            +---+

Here is the pertinent output from xrandr:
    $ xrandr -q
    Screen 0: minimum 320 x 200, current 3120 x 1600, maximum 3520 x 1920
    VGA-0 connected 1200x1600+1920+0 left (normal left inverted right) 408mm x 306mm
       1600x1200      60.0*+   59.9  
    ...
    LVDS connected 1920x1200+0+0 (normal left inverted right) 0mm x 0mm
       1920x1200      60.0*+
    ...

There are two related issues.  The mouse cursor is left-rotated and appears correctly on the portrait monitor.  But it is turned on its side when moved to the landscape laptop display.  This is not _too_ disturbing, but could be better.

It gets even stranger, if you set the position of the VGA-0 to overlap the region displayed by the LVDS and move the mouse into the shared area, it will be oriented correctly on the VGA-0 and incorrectly on the LVDS.  Now I under stand from a video-memory perspective they are both being drawn in the same "direction".

The second more important bug is that on the landscape display the cursor's apparent and actual hot point differ.  Visually the mouse points to what seems to be the lower-left corner of its sprite space, but the actual hot point as detected by hovering over a button or clicking on something is the upper-left corner.  This is further evidenced by the fact that you cannot move the pointer clear to the top of the screen.
Comment 1 Alex Deucher 2007-12-12 10:35:04 UTC
I think this is a server bug as all the cursor rotation stuff is handled by the xserver.
Comment 2 Alex Deucher 2007-12-12 14:45:00 UTC
Nevermind this is a radeon issue.  I'm fixing it up now.
Comment 3 Alex Deucher 2007-12-12 15:52:22 UTC
fixed in commit: 33a39947f7f79533cd90007a17d57b20126642c6


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.