Opened 10 years ago

Last modified 9 years ago

#4810 confirmed defect

Tray icon does not handle transparency

Reported by: nijel Owned by:
Priority: normal Milestone:
Component: wxGTK Version:
Keywords: Cc: nijel, pcor
Blocked By: Blocking:
Patch: no


When using normal theme colour, tray icon looks good. But when I change to use transparency, wxWidgets tray icon keeps original background while other icons are properly using new one. See attached screenshot (the snake icon is from wxPython demo, others from regullar Gtk applications).

Attachments (2)

Screenshot.png download (2.0 KB) - added by nijel 10 years ago.
wx_white_background_tray_icon.png download (6.7 KB) - added by stegdiwxw 9 years ago.
apps with white tray icon background

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by nijel

comment:1 Changed 10 years ago by nijel

Just forgot to include version information:
wxPython (wxGTK, unicode, gtk2, wx-assertions-off, SWIG-1.3.29)
Running on Python 2.5.2

comment:2 Changed 10 years ago by nijel

Here is patch which fixed similar issue for stardict:

comment:3 Changed 10 years ago by pcor

The changes in that patch have been in wxWidgets since before 2.8.7.

comment:4 Changed 10 years ago by nijel

As I said, I have and transparency does not work...

Changed 9 years ago by stegdiwxw

apps with white tray icon background

comment:5 Changed 9 years ago by stegdiwxw

  • Status changed from new to confirmed

The same problem still exists, apps have white background in the tray icon.

The main cause of the problem is the current system tray implementation. Many apps work OK with the current implementation (see last screenshot), but it has many limitations, and a new version is begin written, and will be submitted to

Would be grate if the wxwidget people could share with the rest of the community in the standards and specifications mailing list[1] there thoughts about the new notifications specs.


See also:

comment:6 Changed 9 years ago by vadz

I think this bug should be fixed in the trunk as the implementation was changed there to use native GTK+ API if it's > 2.10, can you test if 2.9.0 works for you?

Note: See TracTickets for help on using tickets.