! 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 !
launcher/menu icons won't allow transparent background
Status:
CLOSED: FIXED
Product:
Xfce4-panel

Comments

Description benxor 2004-05-27 04:57:50 CEST
If the panel has a background image, this image will not be repeated in the
background of launcher icons, even if said icons are PNG's with transparent
backgorunds. The panel background image *will* fill up the backgrounds of icons
within launcher menus however - if these icons are PNG's with transparent
backgrounds
Comment 1 benxor 2004-05-27 04:57:52 CEST
Additional information:

I've spent a while trying to make my desktop look like MacOSX, and so I've
started using a GTK2 theme 'Panther' -- though it looks like Aqua, and
consequently has repeating horizontal grey/white lines for the background in
windows, menus, and of course the panel's background image.

However, despite the fact that all my new pesudo-MacOSX launcher icons are
PNG's with transparent backgrounds, the background line image from the GTK
theme is only showing up behind launcher-menu arrows, icons *within*
launcher-menus, and behind the icons in dialogue windows - but *not* behind
panel launcher icons.
Comment 2 Jasper Huijsmans editbugs 2004-07-07 12:37:22 CEST
I have no idea how to solve this and no time to look into it unfortunately. It
may have something to do with the xfce widget not being covered by the theme.
If anyone would like to look at this, that would be highly appreciated.
Comment 3 Brian J. Tarricone (not reading bugmail) 2004-07-07 12:41:38 CEST
this may be somewhat related to how the xfdesktop menu (using a custom widget)
doesn't always follow the theme. i _think_ that can be fixed by calling
gtk_widget_set_name(item, "GtkMenuItem") - so maybe setting the name to
"GtkButton" here will do the trick. i'll look into it.
Comment 4 Brian J. Tarricone (not reading bugmail) 2004-07-15 20:19:55 CEST
ok, patch for libxfcegui4 attached that should fix it (haven't tested, other
than that it compiles). jasper, your call on whether or not it's too hacky to
commit.
Comment 5 Brian J. Tarricone (not reading bugmail) 2004-07-16 17:38:10 CEST
fix applied to CVS.

Bug #207

Reported by:
benxor
Reported on: 2004-05-27
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

0000207-gkrellShoot_05-27-04_145540.jpg (181.70 KB, image/jpeg)
2004-05-27 04:57 CEST , benxor
no flags
207-iconbutton-gtktheme-fix.diff (1.75 KB, text/x-patch)
2004-07-15 20:19 CEST , benxor
no flags

Additional information