GNOME Bugzilla – Bug 136483
Screen resolution chooser places window poorly
Last modified: 2004-12-22 21:47:04 UTC
After I change screen resolution in "Screen Resolution Preferences", the resulting "Do you want to keep this resolution?" dialog box is centered based on the old resolution. This means that if I change resolution from "800x600" to "1280x1024", instead of the dialog being in the center of the window, it is in the upper left. Worse, in changing resolution from "1280x1024" to "800x600", the dialog box is so far offcenter that it is mostly not visible (the reason I didn't file this bug as "trivial".). The "Do you want to keep this resolution?" box should be centered based on the resolution you are changing to, not the resolution you are changing from.
Verified that this still exists in 2.6; changing Version.
Created attachment 28530 [details] [review] Added a position to the dialog window
Created attachment 28567 [details] [review] Hide the main dialog box while centered the confirmation dialog. With the patch #2, the dialog of the "Screen Resolution Preferences" configuration still show in the incorrect postition. I think it's better to hide it while displaying the "Do you want to keep this resolution?" dialog box and reshow if the user want to revert the selection. The next patch do this. Please confirm to commit it.
Comment on attachment 28567 [details] [review] Hide the main dialog box while centered the confirmation dialog. Cute, you use center_always and trigger a re-centering when you un-hide the window. Seems reasonable. Please commit to HEAD.
Ok, commited.