FS#37258 - After recent update from [2013-10-07], latest gtk2 and gtk3 are screwing UI appearance
Attached to Project:
Arch Linux
Opened by Daniel (8472) - Tuesday, 08 October 2013, 18:10 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 09 October 2013, 17:42 GMT
Opened by Daniel (8472) - Tuesday, 08 October 2013, 18:10 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 09 October 2013, 17:42 GMT
|
Details
Description:
- After recent update from [2013-10-07], gtk2 and gtk3 were updated to gtk2-2.24.21-2 & gtk3-3.10.0-2, appearance is broken. - All recent upgrades of everything installed, always. - Using OpenBox. - Both of these packages have some font or appearance bug, causing, much more space is taken by any app. objects (menu font is changed, more space around menu options is consumed, also any other objects take more space - e.g. in Thunderbird, content of mailbox uses some bigger font and consumes more empty space around each line, the same with e.g. Firefox bookmarks). - Have tested in on normal workstation, and a VM in VirtualBox (both having Arch), both of them affected the same way. - Attaching screenshots (both unaffected and affected on one image in file gtk_v2&v3_bug.jpg - with apps e.g. roxterm and mousepad showing differences). Recent not affected versions (attachment not_affected-gtk_v2&v3.jpg): gtk2-2.24.20-1 gtk3-3.8.4-1 Newly affected versions (attachment affected-gtk_v2&v3.jpg): gtk2-2.24.21-2 gtk3-3.10.0-2 Steps to reproduce: OpenBox at least (Unknown, whether it happens with other WM - ain't using any other). Install the recent versions of gtk2-2.24.21-2 & gtk3-3.10.0-2, and you'll see the screwed appearance as I got (affected-gtk_v2&v3.jpg). Downgrading to previous gtk2-2.24.20-1 & gtk3-3.8.4-1 will restore the desired state. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 09 October 2013, 17:42 GMT
Reason for closing: Not a bug
Wednesday, 09 October 2013, 17:42 GMT
Reason for closing: Not a bug
I solved it by editing /usr/share/gtk-2.0/gtkrc. The last line that specifies the font is set to 11 and I changed it to 9.
Not sure what it was before. Obviously this won't survive an update and I'll move it to a user config file at some point.
This may be what's causing the issue. I haven't run a gtk3 application yet, but I notice its font is set the same.
Jan, can you explain why you added additional default settings?
If you want the previous behavior for GTK3, add a file /etc/gtk-3.0/settings.ini with the following content:
[Settings]
gtk-theme-name = Raleigh
gtk-font-name = Sans 9
And for GTK2, add a file /etc/gtk-2.0/gtkrc with the following content:
gtk-theme-name = "Raleigh"
gtk-font-name = "Sans 9"
These files, unlike the ones in /usr/share, won't be overwritten on upgrade.
@Jan Steffens (heftig): just out of curiosity, what are the new default values of these pls?
I believe you can close it afterwards, as explanation and a solution has been provided.
They go with the documented default themes "gnome-themes-standard" and "gnome-icon-theme".