! 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 !
Mini icons in program starter tooltips
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Launcher

Comments

Description Manuel Grießmayr 2019-04-23 10:29:33 CEST
Created attachment 8445 
tooltip with mini icon

I have the following behaviour with program starters in the panel bar. When I select an icon from the list in the symbol chooser under the drop down item "application symbols" (translated from German) or another icon category then the icon looks fine in the tooltip. But when I select "picture files" (translated from German) from the drop down in the symbol chooser and browse for an icon manually in the file system then the icons in the tooltip have the wrong size. I tested this with .svg and .png files:

/usr/share/icons/hicolor/scalable/apps/audacious.svg
/usr/share/icons/hicolor/48x48/apps/audacious.png
Comment 1 Simon Steinbeiss editbugs 2019-04-26 22:46:11 CEST
Ok, just to make sure: both things don't work - svg *and* png?
Comment 2 Simon Steinbeiss editbugs 2019-04-26 23:07:14 CEST
Thanks for creating a separate bugreport and clarifying the issue. I reproduced it and after some digging around I managed to come up with a very simple patch.
It seems like gdk_pixbuf_new_from_file_at_scale doesn't like the GTK_ICON_SIZE* macros...
Comment 3 Git Bot editbugs 2019-04-26 23:08:53 CEST
Simon Steinbeiss referenced this bugreport in commit bbfb18d41ce94ff9d3d33bd9b532b6fdfaf9332e

launcher: Fix tooltip icon size (Bug #15319)

https://git.xfce.org/xfce/xfce4-panel/commit?id=bbfb18d41ce94ff9d3d33bd9b532b6fdfaf9332e
Comment 4 Manuel Grießmayr 2019-04-27 09:08:37 CEST
Many thanks, works like a charm :-)

Bug #15319

Reported by:
Manuel Grießmayr
Reported on: 2019-04-23
Last modified on: 2019-04-27

People

Assignee:
Simon Steinbeiss
CC List:
1 user

Version

Version:
4.13.4

Attachments

tooltip with mini icon (31.75 KB, image/png)
2019-04-23 10:29 CEST , Manuel Grießmayr
no flags

Additional information