GNOME Bugzilla – Bug 580754
Gnome desktop should re-use the previous screen size when needs_reprobe=FALSE
Last modified: 2009-04-29 22:02:58 UTC
Please describe the problem: After applying the settings (e.g. changing the screen resolution), if the number of connected outputs didn't change, then fill_out_screen_info() is called with needs_reprobe=FALSE. This is correct but info->min_width, info->min_height, info->max_width and info->max_height are not filled. As a result, they are all set to 0, which causes the Display capplet to believe that the allocated front buffer is not enough (being 0 x 0 ) and prevents the applet from applying a new screen resolution unless the applet is restarted. Steps to reproduce: 1. Launch the Display capplet 2. Change the screen resolution to a different resolution and apply your settings 3. Repeat step 2 with a different resolution Actual results: An error dialog warns the user that the settings cannot be applied. Expected results: If the front buffer is enough, the settings should be applied. Does this happen every time? yes Other information: Solution: Gnome desktop should re-use the previous screen size when needs_reprobe=FALSE in screen_info_new()
Created attachment 133568 [details] [review] Patch which fixes the bug
*** This bug has been marked as a duplicate of 578111 ***