detection of xrandr clone mode is wrong for single screens
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-desktop (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs | ||
Hardy |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Hi,
The randr code mistakenly detects all single screen setups as
being in clone mode due to a logic error in the code. The attached
patch inverts the logic so that single screens are never detected
as clone mode.
This exhibits itself as the clone mode checkbox in gnome-display-
being set for single screens.
TEST CASE: Install the old version of libgnome-desktop-2 and open
gnome-display-
checkbox will be on, and the name of your screen will be "Cloned Output".
Install the new version of libgnome-desktop-2 and restart gnome-display-
The checkbox should no longer be active, and the name of your screen
should be related to what it is, and not be "Cloned Output". You should still be
able to attach a second screen and enable or disable cloned output.
Thanks,
James
I've tested that the change works correctly for me and sponsored the update