Bug 572502 - gnome-display-properties should pick the preferred xrandr mode
gnome-display-properties should pick the preferred xrandr mode
Status: NEW
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
2.25.x
Other Linux
: Normal normal
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
:
: 630344 (view as bug list)
Depends on:
Blocks: randr-tracker
  Show dependency tree
 
Reported: 2009-02-19 22:49 UTC by Sebastien Bacher
Modified: 2013-02-15 13:15 UTC (History)
4 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments

Description Sebastien Bacher 2009-02-19 22:49:51 UTC
the bug has been opened on https://bugs.launchpad.net/bugs/314057

"1. Plug in an external 1280x1024 LCD monitor to my laptop's VGA output
2. Open gnome-display-properties
3. Click on the new (deactivated) screen

What should happen: The resolution dropdown should automatically select 1280x1024.

What actually happens: The resolution dropdown automatically selects 1600x1024.

Extra information:

Here's what 'xrandr' prints:

   1280x1024 75.0 + 75.0 60.0 60.0
   1600x1024 60.2
   1400x1050 60.0
   1440x900 59.9
   1280x960 60.0
   1360x768 59.8
   1152x864 75.0 75.0 75.0 70.0 60.0
   1024x768 75.1 75.0 70.1 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3
   640x480 75.0 72.8 72.8 75.0 60.0 59.9
   720x400 70.1

The '+' sign indicates the monitor's preferred mode, which is what gnome-display-properties should prefer."
Comment 1 Sebastien Bacher 2009-02-19 22:51:10 UTC
there is a similar issue when using fn-f7 to cycle between configurations
Comment 2 Matthias Clasen 2009-02-19 23:16:03 UTC
Worthwhile pointing out that the '+' is just a heuristic that xrandr computes based on monitor and mode sizes, not an XRANDR concept.
Comment 3 Sebastien Bacher 2009-02-20 00:01:23 UTC
would it make sense to have a similar logic in gnome-desktop if it leads to a smarter selection?
Comment 4 Loïc Minier 2009-02-20 08:45:56 UTC
Matthias, yes exactly the same conclusion I came to when I saw that "xrandr --preferred" would work, while GNOME didn't.

Perhaps we should indeed ask the xorg folks to add this to the API?
Comment 5 Bastien Nocera 2013-02-15 13:15:43 UTC
*** Bug 630344 has been marked as a duplicate of this bug. ***

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