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 558983 - Palette groups need tooltips with small width allocations
Palette groups need tooltips with small width allocations
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: user interface
3.4.x
Other Linux
: Normal minor
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-02 20:34 UTC by tomwolfe
Modified: 2010-03-26 17:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description tomwolfe 2008-11-02 20:34:19 UTC
Would really like to be able to properly use Glade on my Asus EEE 901, however, it seems to require at least a 1024x768 resolution.

Having to constantly alt+click is really annoying.

Steps to reproduce:
1. Try running it at a lower resolution such as my 1024x600, impossible to shrink the application down to fit.

Seeing how netbooks are becoming pretty popular, is it possible to fix this?

Anything I can do?
Comment 1 Tristan Van Berkom 2008-11-03 05:39:57 UTC
Well, Gtk+'s layout techniques imply that each widget requests
their own space, typical bugs include long text label that cannot
ellipsize or wordwrap, or manually set size requests.

So are you working with 3.4 ? I need to figure out if the bug
is still present in trunk, and I need to figure out which
widgets in the glade frontend layout are demanding too much
space. (it would help if you try resizing the app, and eliminating
any parts of the window that *do* shrink properly, this may
help us identify the offending size allocator).

Note that I will not make another release of 3.4. I'm too busy
with GtkBuilder support, but that is at least release candidate 
ready over the next month or so...
Comment 2 Alexey Kurochkin 2008-12-30 17:40:26 UTC
I believe somewhere in the code the size request for palette is set to 540 which is exactly GLADE_WINDOW_DEFAULT_HEIGHT. That is the size you get if you detach palette and try to resize it to minimum.
Comment 3 Alexey Kurochkin 2009-04-23 13:30:50 UTC
I knew it had been discussed! Just could not find it. Anyway, it is the same issue as the bug 579624 fixed in 3.6.3 now. Please close.
Comment 4 Alexey Kurochkin 2009-04-23 13:53:17 UTC
After reviewing 3.6.3, I have a second thought. When you make the palette too narrow the expander button labels get ellipsized. That is fine, but it would be very useful if they had tooltips in that case.
Comment 5 Tristan Van Berkom 2009-04-23 14:16:14 UTC
Nice, and I think the GladePalette which became the EggPalette
is going to be a GtkPalette in an upcomming release (I think I read
that on a roadmap recently), so we can externalize alot of this 
code soon ;-)
Comment 6 Tristan Van Berkom 2010-03-25 21:32:41 UTC
Noting as of bug 613956 Glade uses GtkToolPalette.

the tool palette currently takes a reasonable allocation
and in Glade at least there is no ellipsize going on.

ping, thing we should move this bug to GTK+ ?
Comment 7 Tristan Van Berkom 2010-03-26 07:14:59 UTC
Disregard ping, after rereading the bug I figure we can do that.

Already added tooltip, just have to restore the ellipsize behavior..
Comment 8 Tristan Van Berkom 2010-03-26 17:48:58 UTC
Tooltip'd ellipsizing category titles now in git master.

Closing this one.