xrandr --scale restricts area in which mouse moves
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
X.Org X server |
Fix Released
|
High
|
|||
xorg-server (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Low
|
Unassigned | ||
Quantal |
Fix Released
|
Low
|
Unassigned | ||
Raring |
Fix Released
|
Low
|
Unassigned |
Bug Description
SRU Request:
[IMPACT]
A bug in the version of xorg-server in precise prevents users from scaling screen resolution. When attempting to do so, as was possible in Natty and earlier, and which is possible in Quantal+, the mouse pointer remains locked inside the old resolution. This prevents users of small screens such as netbooks from scaling to a greater screen resolution.
[Test Case]
- On a netbook with intel chipset, such as a Dell Mini 9 or 10, scale the display by using the following command:
xrandr --output LVDS1 --panning 1280x750 --scale 1.25x1.25
See if the mouse moves correctly to all screen extremities, and is not confined by a transparent border at 1024x600
[Regression Potential]
This is fixed with a patch backported from the xorg-server version in Quantal. In theory it should just affect screen which are scaled and panned, which is uncommon. If so, the patch can be backed out.
Original Bug Description:
in kubuntu (and ubuntu) 11.04 i used to enlarge my laptop screen like so
xrandr --output LVDS1 --scale 1.2x1.2
this worked fine: the desktop scaled to larger size correctly .
After upgrading to 11.10, in kde the desktop still resizes
correctly, but the movement of the mouse is restricted to an area equal to
the screen size *before* issuing the scaling command. .. Ie let's say
the mode is 1366x768 and I do xrandr --output LVDS1 --scale 1.2x1.2 the
screen size changes to 1640x922 but the mouse moves in an area the size of
1366x768 in the top left of the screen and then 'hits a wall' preventing
it to move. I also tried ubuntu 11.10 with gnome: here the screen also
resizes, but I have the same issue with the mouse, and the extended area
of the desktop is black...
Some time ago there was a similar issue, which was resolved later. Now it seems
to be back...
jos@samsungsucks:~$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
jos@samsungsucks:~$ xrandr --version
xrandr program version 1.3.5
Server reports RandR version 1.3
description: | updated |
description: | updated |
description: | updated |
affects: | ubuntu → xorg (Ubuntu) |
tags: | added: kubuntu |
Changed in xorg (Ubuntu): | |
importance: | Undecided → Low |
affects: | xorg (Ubuntu) → xorg-server (Ubuntu) |
Changed in xorg-server (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in xorg-server: | |
importance: | Unknown → High |
status: | Unknown → Confirmed |
tags: | added: kubuntu |
summary: |
- xrandr --scale 1.2x1.2 restricts area in which mouse moves + xrandr --scale restricts area in which mouse moves |
tags: | added: oneiric |
tags: | added: ubuntu |
Changed in xorg-server (Ubuntu Quantal): | |
status: | New → Fix Released |
Changed in xorg-server (Ubuntu Raring): | |
status: | Triaged → Fix Released |
Changed in xorg-server (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Low |
description: | updated |
Changed in xorg-server (Ubuntu Precise): | |
status: | Triaged → Fix Committed |
tags: | added: verification-needed |
tags: |
added: verification-failed removed: verification-needed |
tags: |
added: verification-done removed: verification-failed |
Changed in xorg-server (Ubuntu Precise): | |
status: | Fix Committed → Fix Released |
Changed in xorg-server: | |
status: | Confirmed → Incomplete |
Changed in xorg-server (Ubuntu Quantal): | |
importance: | Undecided → Low |
Changed in xorg-server: | |
status: | Incomplete → Confirmed |
Changed in xorg-server: | |
status: | Confirmed → Fix Released |
Filing this bug to facilitate the fix entering the pipeline
CRTC bound checking was introduced to make sure windows do not slide into hidden areas, when multiple screens map to the framebuffer. It seems to be interfering with Panning.
Description:
Panning does not work. The screen should pan when the mouse is moved outside the visible area on the screen, when the visible part of the screen on the CRTC is part of a larger configured framebuffer screen.
Use the following to configure panning
xrandr --fb 1600x1200 --output LVDS --mode 1280x800 --panning 1600x1200
Use the following to restore
xrandr --fb 1280x800 --output LVDS --mode 1280x800 --panning 1280x800
Move the mouse to the CRTC edge and expect to see screen to pan, but pan does not happen, because the mouse is constrained to remain in the CRTC bounds.
Use case:
laptops have small screens.
Configure panning to use a larger screen on the small DISPLAY.
Use remote desktop such as VNC, using vino, or module vnc, and access the desktop more comfortably on a larger workstation screen.
Downstream bug. /bugzilla. redhat. com/show_ bug.cgi? id=710191
https:/
A patch has been proposed, but seems not to be moving. lists.x. org/archives/ xorg-devel/ 2011-June/ 023715. html
> Rui Matos 2011-07-02 08:10:36 EDT
>
> This a bug in the X server. I've submitted a patch upstream[1] but it's still
> waiting review.
>
> [1] http://
xorg-x11- server- Xorg-1. 10.3-1. fc15.x86_ 64 4.fc15. x86_64 #1 SMP Fri Jul 29 18:46:53 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Linux sirius.localdomain 2.6.40-
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series
radeon driver.