User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 Build Identifier: Recently I've updated on my system from gnome2.20 to gnome2.22.. after that I noticed a change in the icon size for THUNAR 0.9 when you select the toolbar style.. Normally Icons size I guess should be 24x24 while now they are probably 48x48.. I trie do recompile Thunar 0.9, libexo 0.3.4 but the problem still exist. I don't understand which gnome 2.22 component (gtk-engines?, gnome-icon-theme?, gnome-themes? or anything else have influence on toolbar icon size) e.g. Toolbar for Terminal 0.2.8 appears without correctly.. I've attacched a screeshoot to clarify better.. Reproducible: Always Steps to Reproduce: 1.Open Thunar 0.9 2.Select Toolbar Style 3.Icons on toolbar are very big.. see screenshoot Slackware 12 Kernel 2.6.24.4 GNome 2.22 compiled from scratch GTK+ 2.12.9 Glib 2.16.1
Created attachment 1574 Thunar 0.9.0 big icons on toolbar
Just another info.. I tried to start a gnome session using a new users created in this occasions to do some test and the issue still exist here with all default gnome settings...
Hm, the toolbar settings in Thunar are controlled by GTK, while Terminal does the toolbar size stuff on its own; so, as it seems, some part of your gnome update -- most probably GTK -- broke it. Did you check the standalone bulk renamer dialog? Is it messed up as well?
I confirm that also thunar bulk rename utility has the same issue : icons are very big like in thunar toolbar.. fyi : I tried do downgrade to gtk+2.12.8 but issue still exists... Bye Andrea
Someone opened a bug-report on UBUNTU regarding the sama issue : https://bugs.launchpad.net/ubuntu/+source/thunar/+bug/203236 Bye Andrea
Created attachment 1783 Patch by alextud Patch by alextud (https://bugs.launchpad.net/~alextud) from LP bug.
(In reply to comment #6) > Created an attachment (id=1783) [details] > Patch by alextud The approach of the patch is wrong because it forces Thunar to use *small* icons in the toolbar while most applications default to *big* toolbar icons. And it will be impossible to change the size globally. Without having more insight, this looks like a broken theme. I have seen themes with similar symptoms, where the theme specified wrong icon sizes and thus led to strange phenomenons like this, not only in Thunar. The way Thunar creates the toolbar looks in no way wrong to me.
I've installed thunar on three different computers (same distribution - ubuntu, x86 and x86_64) and on all systems toolbar icons are big. If I was a common user probably I'll stick with nautilus (icons are way to big for normal use). I don't know why but file-roller is using same function to create toolbar gtk_ui_manager_get_widget () and icons aren't big like in thunar. Normally toolbar is using only these two type of icons : GTK_ICON_SIZE_SMALL_TOOLBAR and GTK_ICON_SIZE_LARGE_TOOLBAR but gtk_toolbar_get_icon_size (GTK_TOOLBAR(window->location_toolbar)) show value 6 == GTK_ICON_SIZE_DIALOG . This may be a temporary fix : if (gtk_toolbar_get_icon_size (GTK_TOOLBAR(window->location_toolbar)) != GTK_ICON_SIZE_SMALL_TOOLBAR || gtk_toolbar_get_icon_size (GTK_TOOLBAR(window->location_toolbar)) != GTK_ICON_SIZE_LARGE_TOOLBAR) gtk_toolbar_set_icon_size (GTK_TOOLBAR(window->location_toolbar), GTK_ICON_SIZE_SMALL_TOOLBAR);
I have another user reporting this issue. However, right now I don't see how this could be a bug in Thunar. Thunar just seems to create the toolbar using GtkUIManager and does no changes to the icon size at all.
Hey, I've started getting this bug as well, but I've noticed that it only happens when gnome-settings-manager is running. If I'm not running gnome-settings-manager (for instance, in an xfce session, where I'm running xfce-mcs-manager instead, or in a fluxbox session where no settings manager is running) the toolbars are fine. I'm no GTK guru, so I don't know exactly what's wrong, but is Gnome setting some option that screws up Thunar? The way it is right now, Thunar works fine unless you're using Gnome, in which case it's unusable.
I have the same problem, since I also use Gnome. Any idea what is making this happening?
Same here when using Thunar under GNOME, Ubuntu Karmic. Patch works for me.
Hi everybody.. any news about this annoying bugs? I confirm that bug is still present with Thunar 1.02 and gnome 2.30 (Gtk 2.20.x) Just to clarify I confirm that the bugs is present only if you execute Thunar (or the BULK rename utility installed with Thunar) as standalone app, inside then Gnome environment.. If you run Thunar inside XFCE enviroment everything is fine.. I don't use the patch (I see is for Thunar 0.9.0).. then is there any chance to solve the issue? thanks Andrea
Please look at your current theme configuration file and try to play with values for the following option: gtk-icon-sizes Configuration file is placed in: ~/.themes/"_your_current_gtk_theme"/gtk-2.0 I played with this setting a few months ago and I've got correct icon size for thunar. These are values that I'm using write now: gtk-icon-sizes = "gtk-menu=16,16:\ngtk-button=22,22:\ngtk-dnd=22,22:\npanel-menu=16,16:\npanel=22,22:\ngtk-dialog=22,22:\ngtk-small-toolbar=22,22:" Let me now that it work for you. PS: Try to change to different theme and back to current one for reloading modified values.
@ alextud : ... your suggestion works fine (at least for me) and finally toolbars icons in Thunar are ok :) (..and it works also adding the gkt-icon-sizes option with your value in the $HOME/.gtkrc-2.0 file , so in this way the setting for that options is valid for all gtk themes ;-) Thanks a lot.. Andrea
(In reply to comment #15) > (..and it works also adding the gkt-icon-sizes option with your value in the > $HOME/.gtkrc-2.0 file , so in this way the setting for that options is valid > for all gtk themes ;-) just a clarification...:) my suggestion doesn't work if a gtk-icon-sizes option is already defined with a different value , in the ~/.themes/"_your_current_gtk_theme"/gtk-2.0/gtkrc file.. Andrea
The workaround solution no longer works on gnome3 as gtk-2.0rc doesn't exist. However, the problem still exists. Any idea on how to translate this to ~/.config/gtk-3.0/settings.ini or ~/.config/gtk-3.0/gtk.css ? I'm still experiencing the issue on ubuntu 11.10 running the gnome3 fallback. Many thanks!
Closing this, not a Thunar issue.
1.5.1 will have a hidden property misc-small-toolbar-icons, if set to true GTK_ICON_SIZE_SMALL_TOOLBAR will be set.