Font too big in some thunar window

Bug #230857 reported by Jarno Suni
8
Affects Status Importance Assigned to Milestone
Thunar File Manager
Unknown
Unknown
thunar (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: thunar

Xubuntu 8.04, thunar 0.9.0. Isn't the font in all thunar windows supposed to be same? I don't know how can did I do it, but I got some thunar window that has bigger font size. See the screenshot attachment.

Revision history for this message
Jarno Suni (jarnos) wrote :
Revision history for this message
jahoomax (dyb-spam2) wrote :

Some font size problems in thunar here as well.
Seems it does not act according to DPI- and Font-Settings from XFCE

Changed in thunar:
status: New → Confirmed
Revision history for this message
Sébastien Launay (sebastien-launay) wrote :

Same bug with same version (Xubuntu 8.04, XFCE 4.4.2, thunar 0.9.0).

I found a work around :
Create a .gtkrc-2.0 file in your home directory with the following content:
===== start ======
style "fonttweak"
{
font_name = "Sans 8"
}

widget_class "*Thunar*View*" style "fonttweak"
===== end ======

You change chage "Sans 8" for adapting to your needs.

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

I can confirm the same bug, and it's repeatable.

I log into Xubuntu which loads normally, then change my desktop to include an external monitor using this command...
xrandr --output VGA --mode 1440x900_60.00 --above LVDS
...where LVDS is a 1280x768 builtin LCD on my laptop, and the VGA is attached to an Acer AL1916W widescreen monitor.

Subsequently a launch of Thunar will create windows with huge fonts, requiring the above gtk config workaround to restore the fontsize.

It's possible that it is somehow related to very confused xfce desktop values, as revealed in this display-dimensioning bug which I reported following the same xrandr invocation...

https://bugs.launchpad.net/ubuntu/+source/xubuntu-meta/+bug/326739

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Is this issue this present in jaunty? Thanks.

Changed in thunar:
status: Confirmed → Incomplete
Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

Sorry - didn't include versioning. I'm running on Intrepid Xubuntu 8.10 up to date, but not Jaunty.

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

Now the font size of menus and lists is unbelievably tiny and unreadable in Thunar, Amarok, System Monitor, although it remains sensible in Firefox. Note the resolution of this screenshot - 1280x768. As it turns out it's on a 9 inch screen so it's even more of a joke than it would normally be.

The global fonts set inside 'User Interface' and 'Window Manager seem to have no effect. I don't know what is the system which controls these fonts. Is there a location where font sizes for features apart from just the title bar are set? What can I do as a workaround to persuade XFCE to launch new apps with sensible font sizes?

Throughout this whole boot cycle I've had the .gtkrc-2.0 workaround in place...

cefn@cefn-linux-tablet:~$ more .gtkrc-2.0
style "fonttweak"
{
font_name = "Sans 9"
}

widget_class "*Thunar*View*" style "fonttweak"

...and it's still not behaving itself.

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

Turned out that after closing and relaunching firefox, the fonts in firefox had shrunk too.

I tried removing all XFCE config by removing the .config directory from my user home.

After logging out and logging back in, I now have only Thunar with huge fonts and other apps like system Monitor and Amarok are back to normal and not small any more.

However, the gtk user home config override workaround seems to have no effect now, just as if it wasn't there at all.

Can someone give me an idea what system actually configures the menu fonts and list fonts in Thunar or indeed in System Monitor and Terminal so that I can do something about it the next time.

Revision history for this message
Mircsicz (mircsicz) wrote :

I'm on Intrepid too, having nearly the same Prob as Cefn. In my case it's only the tiny Thunar fonts everything else seems to be fine... But the .gtkrc-2.0 gets ignored too...

One big difference to all the other's: I'm in a Debian Lenny Xen 3.2 DomU connecting via FreeNX

Hope someone has a hint!

Greetz
     Mircsicz

Revision history for this message
Mircsicz (mircsicz) wrote :

Seems the following did the Trick for me:

http://ubuntuforums.org/showpost.php?p=4046240&postcount=2

Greetz
Mircsicz

Changed in thunar (Ubuntu):
status: Incomplete → Triaged
importance: Undecided → Low
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Seems to affect only pre-jaunty (so with mcs, xfce 4.4). Should be fixed in >= jaunty (with xfconf, xfce 4.6).

Changed in thunar (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.