! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Label cut off on some font size/GTK theme combinations
Status:
RESOLVED: FIXED
Product:
Xfce4-places-plugin
Component:
General

Comments

Description Michael Kogan 2012-03-19 10:47:20 CET
Created attachment 4269 
Screenshot of the problem.

See screenshot in attachment. If the font size is too big the label is cut off (the tooltip shows the whole label). The exact meaning of "too big" depends on the used GTK theme but mostly 10px or 11px is enough for the label to get cut off. The label size should be dynamically resized to fit the label length and font size.
Comment 1 Andrzej editbugs 2012-09-01 05:44:12 CEST
Please check if release 1.4.0 fixes that issue for you. There were some changes to the button layout.
Comment 2 Michael Kogan 2012-09-01 09:26:01 CEST
Thanks, the issue is mostly fixed, there are just some minor things about updating the width. It seems as if the actual applet width is always one step behind the needed width (if the text size is increasing the actual width is too small, if the text size is decreasing, the actual width is too wide). Also, if using the "Show Text and Symbol" option the text is one px higher then if using the "Show Text Only" option. I've made a short video to show those minor problems: https://dl.dropbox.com/u/1507406/places.ogv However, these are really little glitches and in the end it still looks nice, so I don't know whether it's to be considered fixed now or not, just feel free to set the status on your own and I won't complain. :)
Comment 3 Andrzej editbugs 2012-09-01 17:10:53 CEST
Thanks, I've managed to reproduce both issues. You can work around the second one by changing the panel size in panel settings. Indeed, the label jumps 1px up and down w.r.t. other labels as you keep increasing/decreasing the panel size.
Comment 4 Andrzej editbugs 2012-09-01 19:26:36 CEST
I've pushed fixes for these two issues in commit:

http://git.xfce.org/panel-plugins/xfce4-places-plugin/commit/?id=75edc2df6fe3beac7779660f692a196809069af6

If you could please test this version that would be great.
Comment 5 Michael Kogan 2012-09-01 19:52:25 CEST
Thanks for the quick fix! The problem is that I'm running Xfce 4.10, not git. I tried to uninstall the packaged version of the Places plugin itself and compile its git version, which worked but unfortunately the plugin doesn't appear in the panel's plugins list. I also have a VM install where I can play around and have installed much of Xfce git, but though I just installed libxfce4util, autogen.sh of the Places plugin doesn't see it... :/
Comment 6 Michael Kogan 2012-09-01 20:12:26 CEST
Oh, yeah, didn't think about this. :) So now I've tested it and both problems are fixed, thanks!

Bug #8582

Reported by:
Michael Kogan
Reported on: 2012-03-19
Last modified on: 2012-09-01

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Version:
unspecified

Attachments

Screenshot of the problem. (4.12 KB, image/png)
2012-03-19 10:47 CET , Michael Kogan
no flags

Additional information