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 451585 - Dialog size and metatheme tab
Dialog size and metatheme tab
Status: RESOLVED DUPLICATE of bug 459369
Product: gnome-control-center
Classification: Core
Component: [obsolete] Appearance
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-27 12:27 UTC by Michael Monreal
Modified: 2007-07-25 22:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (148.18 KB, image/png)
2007-06-27 12:28 UTC, Michael Monreal
Details

Description Michael Monreal 2007-06-27 12:27:13 UTC
Right now the metatheme tab shows a horizontal scrollbar, even if there is enough (?) free space on either side (24 px in the case of clearlooks theme).

If other themes are selected, the spacing changes and for Crux or the a11y themes, only 2 theme previews are shown in a row.

What I would like to see:

a) prevent changes in spacing or just make the dialog bigger, to allow even the "biggest" theme to fit 3 themes in a row.

b) center the theme previews to always have the same space on the left and right of the outer previews.

This was not a problem in the old dialog. I really like the new one but this make it feel less professional.
Comment 1 Michael Monreal 2007-06-27 12:28:09 UTC
Created attachment 90747 [details]
Screenshot

This should make clear what I was talking about
Comment 2 Jens Granseuer 2007-06-28 18:06:38 UTC
I do see the unnecessary horizontal scollbar (not sure if it can be fixed, though, since setting scrollbar policy to NEVER causes those resizing issues; might just be a gtk bug), but I don't have the problems with resizing previews and not being able to fit 3 thumbnails with the Crux theme (gtk 2.11.4 here).
Comment 3 Jens Granseuer 2007-06-28 21:41:34 UTC
Ok, I actually managed to fix the scrollbar issue.

Still can't reproduce the spacing changing, and I don't think b) is actually possible with GtkIconView.
Comment 4 Denis Washington 2007-06-29 10:26:46 UTC
I can confirm the spacing problem, but didn't find the source of the problem yet.
Comment 5 Denis Washington 2007-07-24 15:39:46 UTC
I am proud to announce the source of the spacing problem!

It is actually not a problem in the GtkIconView spacing (i measured those, they stay identical), but in the different scrollbar widths; the larger scrollbar of the Crux theme takes up just enough space that three themes don't fit in a row anymore. Changing the following line from Crux' gtkrc:

  GtkRange::trough_border = 1

to:

  GtkRange::trough_border = 0

resolves the problem.

One solution would be to make the icon view 1 or 2 pixel wider, though this would be very Crux-specific; High Contrast Inverse, for instance, makes the scrollbar even wider. But I think it would be acceptable to make the window so wide by default that all standard themes don't have the spacing issue anymore.
Comment 6 Jens Granseuer 2007-07-24 16:21:23 UTC
A fixed width request is not a solution. It might fix some case, but it will probably break just as many others, since the dialog width (and as a result the size of the icon view) depends on several factors, such as fonts and the length of the (localized) strings.

I believe our best option atm is to wait for GtkIconView to get an "even spacing" option (or maybe to request that...).
Comment 7 Thomas Wood 2007-07-25 22:10:14 UTC
This is now a duplicate of bug 459369, which depends on bug 460044 for the even spacing option.

*** This bug has been marked as a duplicate of 459369 ***