Thunar Toolbar icons are very large

Reported by IM.tehk on 2008-03-17
32
This bug affects 3 people
Affects Status Importance Assigned to Milestone
thunar
In Progress
Unknown
thunar (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: thunar

I am using the latest version of hardy and I have noticed that the icons in the toolbar of thunar are about twice the size of those in other GTK apps(and my gutsy version of thunar).

IM.tehk (im-tehk) wrote :
IM.tehk (im-tehk) wrote :

I found a thread http://ubuntuforums.org/showthread.php?t=689422 where others describe the same issue.

Gauvain Pocentek (gpocentek) wrote :

Which gtk theme and icon theme do you use?

Changed in thunar:
status: New → Incomplete
IM.tehk (im-tehk) wrote :

I was using Clearlooks at the moment with the Discover Icons when I took that screenshot, tho I have tested this with all the included themes and icons sets(and tango).

IM.tehk (im-tehk) wrote :

For further info I am using a 1920x1200 screen if for some reason it is using gdk_screen_height/width to find my screen width and adjusting the icons based on that.

Changed in thunar:
status: Incomplete → Triaged
alextud (alextud) wrote :

A small fix in this patch, I've found that GTK_ICON_SIZE is set to 6 (== GTK_ICON_SIZE_DIALOG)

SolidSlash (solidslash) wrote :

How can I install this patch?

Lionel Le Folgoc (mrpouit) wrote :

Using gtk_toolbar_set_icon_size () doesn't sound like a good idea (http://library.gnome.org/devel/gtk/unstable/GtkToolbar.html#id3786874):
"This function sets the size of stock icons in the toolbar. You can call it both before you add the icons and after they've been added. The size you set will override user preferences for the default icon size.

This should only be used for special-purpose toolbars, normal application toolbars should respect the user preferences for the size of icons."

ddv (simon-dalsgaard) wrote :

I have the same problem, is this just a problem in Ubuntu or is it a problem general for thunar

Keith (kpolicano) wrote :

Same problem in Arch Linux...this is not an Ubuntu problem.

sonda90 (the-sonda90) wrote :

I can confirm that also with Archlinux I have the same error, strange isn't there any solution?

soren121 (soren121) wrote :

You could use alextud's patch above, but it seems like a hassle to fully recompile Thunar just to fix this little bug.

I've never had this problem before, it must have something to do with GNOME 2.22, because back on Gutsy I was running a backported version of Thunar 0.9.0. :/

My screen is not widescreen either; I'm running a Samsung LCD at 1280x1024 @ 56hz on an nVidia GeForce4 MX4000 AGP.

hotani (hotani) wrote :

Same here on 1280x1024 - not widescreen and I'm seeing the button massiveness.

Linked upstream bug and forwarded patch upstream.

Changed in thunar:
importance: Undecided → Low
Changed in thunar:
status: Unknown → In Progress
Joseph Boiteau (josephboiteau) wrote :

Nothing new since 2008 08 ?
I have the same issue on my Ubuntu 8.10 (so under Gnome), even after updating thunar to jaunty

ddv (simon-dalsgaard) wrote :

This problem still exist under Jaunty in Gnome. Has this been reported upstream?

ddv (simon-dalsgaard) wrote :

There seems to be a bug report for thunar, and it seems that the problem only occurs in Gnome, not in Xcfe

http://bugzilla.xfce.org/show_bug.cgi?id=3971

David Futcher (bobbo) wrote :

The patch attached in this report has been rejected by upstream:

"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."

However, please feel free to check the rest of the upstream comments and attempt to formulate another fix for this. If you do create another patch, please remove the 'patch-rejected-upstream' tag.

tags: added: patch-rejected-upstream

Note the solution (from http://bugzilla.xfce.org/show_bug.cgi?id=3971) was;

1. Modify or Create file "$HOME/.gtkrc-2.0"
(or modify the configuration file already in "$HOME/.themes/_your_current_gtk_theme/gtk-2.0" if this folder exists)

2. add the following text;
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:"

The above no longer works with gnome3. Does anyone know how to correct this issue with gnome3? Thanks!

Lionel Le Folgoc (mrpouit) wrote :

Following upstream on this one (not a thunar issue).

Changed in thunar (Ubuntu):
status: Triaged → Invalid
gex0 (xaoc) wrote :

The problem is still there with Thunar 1.2.3

Installed thunar under Ubuntu 12.04 and I also get this issue.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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