Opened 6 years ago

Last modified 5 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

Description

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 6 years ago.
wx_white_background_tray_icon.png download (6.7 KB) - added by stegdiwxw 5 years ago.
apps with white tray icon background

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by nijel

comment:1 Changed 6 years ago by nijel

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

comment:2 Changed 6 years ago by nijel

Here is patch which fixed similar issue for stardict:
http://launchpadlibrarian.net/12090954/stardict-transparent.patch

comment:3 Changed 6 years ago by pcor

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

comment:4 Changed 6 years ago by nijel

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

Changed 5 years ago by stegdiwxw

apps with white tray icon background

comment:5 Changed 5 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 freedesktop.org.

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

[1] http://lists.freedesktop.org/mailman/listinfo/xdg

See also:
http://lists.freedesktop.org/archives/xdg/2009-April/010315.html
http://www.notmart.org/index.php/Software/Introducing_Notification_Icons

comment:6 Changed 5 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.