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 403242 - GDM Setup Login Window Preferences window too big for 1024x768
GDM Setup Login Window Preferences window too big for 1024x768
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-01 15:28 UTC by Sebastien Bacher
Modified: 2007-03-02 17:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
built against the latest (today's) svn HEAD (76.66 KB, patch)
2007-02-21 11:51 UTC, Lukasz Zalewski
accepted-commit_now Details | Review

Description Sebastien Bacher 2007-02-01 15:28:44 UTC
That bug has been opened on https://launchpad.net/ubuntu/+source/gdm/+bug/82673

"Binary package hint: gdm

Bug type: minor, ui

Problem: gdmsetup preferences window seems to be designed to fit exactly to a 1024x768 screen with one 24px panel. As a default, Ubuntu has two 24px panels which results to that the lower panel overlaps the preferences window by 24 pixels. It isn't much, the bottom panel is only slightly over help and close buttons.

Possible solutions: cut down the theme selection list height by 24 pixels or rework the window otherwise to be less tall

Versions used: Gnome 2.17.90, Ubuntu Feisty"
Comment 1 Brian Cameron 2007-02-06 03:11:04 UTC
I'm cc:ing Lucasz on this bug since he did much of the work improving the gdmsetup GUI lately.  If the window needs to be made 24 pixels shorter, then hopefully he can fix this.
Comment 2 Lukasz Zalewski 2007-02-06 08:48:28 UTC
Im suspecting its the security tab (as it is the larger of them all). I will replicate this set-up and will cut the size down where necessary

Comment 3 Lukasz Zalewski 2007-02-07 18:05:19 UTC
The problem is caused by the local tab - plain greeter setting (and possibly security tab). There are few choices that we can make:

1. Move some of the components into one line (rather than having them cascading) im not sure if this is a good idea as cramming multiple components into one liners will look and feel wrong (i think we have done all that we can in that department)

2. Remove some of the options available through the local tab - this would defeat the object of the previous extensions we have made

3. Tweak vertical spacing such that it fits just right. I think this is probably the most plausible option. Again i cant find any gnome guidlines regarding vertical spacing (i had a look at http://developer.gnome.org/projects/gup/hig/2.0/design-window.html#window-layout-spacing but i cant see any clear definition of vertical spacing)

Comment 4 Brian Cameron 2007-02-08 03:36:18 UTC
cc:ing Calum to see if we can get any UI perspective on this.
Comment 5 Calum Benson 2007-02-08 18:36:34 UTC
Hmm, I can't set this display to 1024x768 to check exactly how much shuffling is required, but a couple of ideas off the top of my head might be:

- Reduce the (default and/or minimum) height of the scrolling theme list on the Local and Remote tabs... possibly making the thumbnail previews a few pixels smaller if need be.

- Move the "Deny TCP connections to X server" checkbox from the security tab into the "Configure X Server" sub-dialog.

- Move the "allow local/remote sysadmin login" checkboxes from the security tab to the local and remote tabs respectively.
Comment 6 Lukasz Zalewski 2007-02-09 15:07:14 UTC
>- Move the "Deny TCP connections to X server" checkbox from the security tab
>into the "Configure X Server" sub-dialog.

This would defenately fix the security tab problem. Although all the Configure X Server options are X-server config entry specific rather than global so the new option would have to go right at the bottom, underneath Add/Modify buttons and above Close/Help. Wouldnt that cause user confusion though (between the global/local options)

>- Reduce the (default and/or minimum) height of the scrolling theme list on the
>Local and Remote tabs... possibly making the thumbnail previews a few pixels
>smaller if need be.

This would solve the problem for the themed greeter but we still left with plain one. Remote tab is not an issue as it doesnt have the Menu Bar block.

>- Move the "allow local/remote sysadmin login" checkboxes from the security tab
>to the local and remote tabs respectively.

I think this wouldnt work as the local tab (plain greeter) is already overgrown


Im guessing reducing vertical spacing between elements is not very feasible option

Comment 7 Brian Cameron 2007-02-12 02:13:40 UTC
There are some gdmsetup features that show up in dialogs that pop-up when you click on a button.  Would it make sense to move more options to such pop-ups to make more room in the GUI?
Comment 8 Lukasz Zalewski 2007-02-14 16:34:49 UTC
I would but we would have to think long and hard as it would probably mean re-designing the interface (or most of it anyways). 

1. We could move the Security section from the security tab into a separate dialog 
2. We could move Local and possibly Remote tabs into separate dialogs containing multiple tabs (for plain and themed greeters)

But this would remove  Local/Remote tabs completely leaving General, Security and Acessibility tabs very sparsely populated. Also we would end up with tab(s) containing multiple buttons for diferent aspects of the configuration.

I think the easiest way to fit gdmsetup to 1024x768 is to tweak vspace on Local/Security tabs. Would that violate any GUI design guidelines?
Comment 9 Calum Benson 2007-02-20 17:00:46 UTC
I think there's scope for losing some vertical space between the checkboxes in the Local/MenuBar and Security/Security groups, and between the radio buttons in the Local/Welcome and Security/Permissions groups... looks like they've all inherited spacings of up to 6 pixels, IIRC the HIG recommends 3 pixels, and in practice it's usually fine to have zero.  (But _only_ between rows of checkboxes or radio buttons).

I don't think you'd want to squash the space inbetween frames/groups if possible, though (e.g. between the Menu Bar and Welcome Message groups on the Local tab), that would make things look pretty cramped I think.
Comment 10 Lukasz Zalewski 2007-02-21 11:51:10 UTC
Created attachment 83033 [details] [review]
built against the latest (today's) svn HEAD 

Changed vertical spacing between groups of checkboxes/radiobuttons in gdmsetup interface.
Affected were: 
Local/Background checkboxes (spacing 3)
Local/Behaviour checkboxes (spacing 3)
Local/Menu checkboxes (spacing 0)
Local/Welcome Message (spacing 3)
Simmilar changes were made to the Remote tab to keep both greeter tabs in sync.
Security/Security checkboxes (spacing 2)
Security/Security Permissions (spacing 0)

Also moved groups of checkboxes/radiobuttons to their own vbox containers such that changes in spacing between them does not affect overall alignment of different elements in the main vbox container.

Is it worth looking into adjusting all the remaining radio/checkbox groups in other tabs to match the new 3-0 pixel spacing?
Comment 11 Brian Cameron 2007-02-26 05:05:45 UTC
THanks, fixed in SVN head.
Comment 12 Calum Benson 2007-03-02 17:47:08 UTC
Changes look good... yeah, I guess to be consistent the spacings ought to be the same everywhere, but I wouldn't call it a high priority...