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 670268 - The "all settings" view should have a calculated geometry
The "all settings" view should have a calculated geometry
Status: RESOLVED DUPLICATE of bug 657560
Product: gnome-control-center
Classification: Core
Component: shell
3.3.x
Other Linux
: Normal enhancement
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-17 09:31 UTC by Julien Olivier
Modified: 2012-02-17 11:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Olivier 2012-02-17 09:31:25 UTC
The "all settings" view uses a fixed geometry. The problem is that it displays labels whose size can differ from one language to another, and thus the vertical size of the content of the window can differ from one language to another, which results in a scrollbar being necessary. I think it would be better to pre-calculate the height of each label and dynamically adjust the window size accordingly.
Comment 1 Bastien Nocera 2012-02-17 10:24:02 UTC
Please instill us with your GTK+ hacking wisdom and make ugliness go away.

*** This bug has been marked as a duplicate of bug 657560 ***
Comment 2 Julien Olivier 2012-02-17 10:44:01 UTC
(In reply to comment #1)
> Please instill us with your GTK+ hacking wisdom and make ugliness go away.
> 
> *** This bug has been marked as a duplicate of bug 657560 ***

This is a very stupid and arrogant comment, but I'm going to point you to the revelant documentation anyway: http://developer.gnome.org/pango/stable/pango-Layout-Objects.html#pango-layout-get-height
Comment 3 Bastien Nocera 2012-02-17 11:17:22 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Please instill us with your GTK+ hacking wisdom and make ugliness go away.
> > 
> > *** This bug has been marked as a duplicate of bug 657560 ***
> 
> This is a very stupid and arrogant comment, but I'm going to point you to the
> revelant documentation anyway:
> http://developer.gnome.org/pango/stable/pango-Layout-Objects.html#pango-layout-get-height

I would also point you to the fact that the shell has no visibility into this as that would be hidden inside a cell renderer, inside a GtkIconView, and that the window isn't sized to the text size at all. If I were you, I'd stop the patronising comments before claiming people are arrogant.
Comment 4 Julien Olivier 2012-02-17 11:29:41 UTC
> I would also point you to the fact that the shell has no visibility into this
> as that would be hidden inside a cell renderer, inside a GtkIconView, and that
> the window isn't sized to the text size at all. If I were you, I'd stop the
> patronising comments before claiming people are arrogant.

OK, you won, I shut up now. Thanks for your help.