After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572502 - gnome-display-properties should pick the preferred xrandr mode
gnome-display-properties should pick the preferred xrandr mode
Status: RESOLVED OBSOLETE
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
 
 
Reported: 2009-02-19 22:49 UTC by Sebastien Bacher
Modified: 2018-09-21 16:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



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. ***
Comment 6 GNOME Infrastructure Team 2018-09-21 16:27:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-desktop/issues/22.