Buttons obscured in screen resolution dialog in 640x480 mode

Bug #291052 reported by Pete Myers
2
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

I was running some Wine tests, which crashed out on me and dumped me back to my desktop in 640x480 resolution.

Going to System->Preferences->Screen Resolution, I was able to select which resolution I wanted, but, the "apply" and "cancel" buttons were off the bottom of the screen. I had to tab through, and guess when the tab was over the "apply" button, then hit enter. It took me two goes to get it right.

A less tech-savvy user just wouldn't know what to do. This is a really simple bug. Either the dialog should be altered to fit on a 640x480 screen or - preferably - system wide applets and dialogs should have some kind of fallback behaviour if they detect that they are partially off the screen. This dialog is an absolutely crucial one to work in 640x480 mode, as it's the only dialog that can fix the problem.

I looked at the code, and it's easy to implement, but I've never submitted a patch before, and I wouldn't want to get the protocol wrong, etc.

But to save someone a bit of time, here's what needs to be done... for a hackish solution that solves the immediate problem and ensures the window is drawn at an appropriate size:
In package gnome-control-center
./capplets/display/main.c
line 901/902

A test for screen size needs to be performed after this line:
info = read_display_info (display);

Probably something like
if (info->screens[0]->currentheight < 600) then {somehow tell create_dialog to make the window smaller}

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in gnome-control-center:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.