Bug 158094 - system-tray icon backgrounds are not transparent
Summary: system-tray icon backgrounds are not transparent
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 161894 164102 164526 165200 165257 167186 168603 170289 171211 171718 172109 172179 173268 174057 174133 179310 181365 181448 182338 182673 182727 183161 183336 183810 184061 184908 184916 185598 186608 210362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-20 13:50 UTC by Luciano Leveroni
Modified: 2010-07-12 17:34 UTC (History)
75 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
KDE panel plasmoid bug (24.23 KB, image/jpeg)
2008-04-04 15:53 UTC, Unknown
Details
Screenshot (5.01 KB, image/png)
2008-06-28 17:36 UTC, Dotan Cohen
Details
screenshot from kde-4.0.85 (8.27 KB, image/jpeg)
2008-07-07 23:20 UTC, H.H.
Details
Trashed klipper icon under Fedora 9/KDE 4.1. (29.04 KB, image/png)
2008-08-02 11:52 UTC, Gilboa Davara
Details
Systray bug in the latest KDE (7.48 KB, image/png)
2008-11-09 16:07 UTC, Unknown
Details
Broken background of icons in systray (4.1.82) (15.45 KB, image/png)
2008-12-12 05:39 UTC, Jakub Schmidtke
Details
Broken background of icons in systray (4.1.82) (15.07 KB, image/png)
2008-12-12 05:41 UTC, Jakub Schmidtke
Details
Screenshot in 4.1.86 (6.52 KB, image/png)
2009-01-03 00:16 UTC, Georg Wittenburg
Details
KDE 4.1 RC1 (17.04 KB, image/jpeg)
2009-01-18 06:57 UTC, Gilboa Davara
Details
screenshot of system tray (6.43 KB, image/png)
2009-05-07 18:10 UTC, Nille
Details
QT 4.5 KDE 4.2.2 + System tray bug remains (88.66 KB, image/png)
2009-05-14 00:50 UTC, Rob Stewart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luciano Leveroni 2008-02-20 13:50:05 UTC
Version:            (using KDE 4.0.1)
Installed from:    Gentoo Packages
OS:                Linux

I have changed my plasma theme (http://www.kde-look.org/content/show.php/Theme%3A+Slim+Glow?content=74329) and I've noticed that systray icons do not have a real transparent background but a black one.

Check out this screenshot: http://www.kde-look.org/CONTENT/content-pre2/74329-2.jpg
Comment 1 manolis 2008-02-20 14:20:21 UTC
In my system the background color in 4.0.1 of the system tray icons is white.
The 4.0.0 was ok, with no opaque background.
I use the standard plasma theme.
Someone in #plasma noted though that it is qt 4.3.3 related and a mishing regression fix in gentoo.
So I did not report it as bug, and I just wait.
Comment 2 Aaron J. Seigo 2008-02-20 17:37:06 UTC
there is really not much we can do about this problem due to the way systray works on x11.
Comment 3 Unknown 2008-04-04 15:51:30 UTC
I use KDE 4.0.3, and the same problem occures. The background of the application in the tray is ugly and the icons next to the clock are white.

After I added some Plasmoids and changed to compositing happened this and I cannot revert.

I'll attach a screenshot.
Comment 4 Unknown 2008-04-04 15:53:20 UTC
Created attachment 24183 [details]
KDE panel plasmoid bug
Comment 5 erik_hahn 2008-06-09 19:11:03 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Lubos Lunak 2008-06-20 17:10:44 UTC
*** Bug 164526 has been marked as a duplicate of this bug. ***
Comment 7 Jiri Dluhos 2008-06-24 23:33:24 UTC
In fact, it is a random background, like bits taken arbitrarily from memory - sometimes it appears as a garbled copy of another icon, sometimes it contains noise.
Comment 8 Pino Toscano 2008-06-28 17:28:36 UTC
*** Bug 165200 has been marked as a duplicate of this bug. ***
Comment 9 Dotan Cohen 2008-06-28 17:36:59 UTC
Created attachment 25670 [details]
Screenshot

@Aaron J. Seigo:
Is there an upstream bug filed at x11 then?
Comment 10 Aaron J. Seigo 2008-07-06 23:20:36 UTC
it's not x.org, it's freedesktop.org where this fix needs to happen. it will require a re-write of the systray spec.
Comment 11 Sebastian Sauer 2008-07-07 02:58:46 UTC
see also bug #153193 why we can't go with a real transparent icon :-/
Comment 12 Dotan Cohen 2008-07-07 08:24:31 UTC
@Aaron:
Could you provide us with the details so that we can file a bug at freedesktop? I did a few simple searches but did not see anything relevant, that could be because I don't know enough about the inner workings of the projects involved. If you want to file the bug with freedesktop, this is their bugzilla:
https://bugs.freedesktop.org/
Comment 13 Sebastian Sauer 2008-07-07 16:01:09 UTC
Dotan; just look at bug #153193 - we had transparent icons but had to disable them cause they lead to crashes if different visuals/colormap with ParentRelative is used.

See here also;
http://lists.freedesktop.org/archives/xorg/2005-January/005790.html
http://bugzilla.gnome.org/show_bug.cgi?id=501842

So, it's not a new problem ;) You are also able to find a rather long discusion about the topic at http://mail.kde.org/pipermail/panel-devel/2008-July/thread.html#14309
Comment 15 Dotan Cohen 2008-07-07 21:14:56 UTC
Thank you Sebastian. However, it does not seem that there is any bug filed at freedesktop for a change to be implemented. I'd file the bug, but I really don't have enough technical knowledge to word it properly. Would I be rude to suggest that either you or Aaron file the bug?
Comment 16 H.H. 2008-07-07 23:19:34 UTC
I can confirm this bug. the system tray icons have no transparent background. I, as a user, do not understand why this could not be solved, when it worked in kde-3.
Comment 17 H.H. 2008-07-07 23:20:39 UTC
Created attachment 25915 [details]
screenshot from kde-4.0.85
Comment 18 Jason Stubbs 2008-07-08 03:32:58 UTC
Please, no more screenshots or "me too"s. White background, black background, transparent background that becomes corrupted.. they are all the same issue. 

The root problem is that plasma uses ARGB visuals while pretty much all applications use RGB. There's presently a hack in place in the system tray applet to work around it, but last I heard (which was before 4.0.0) it is Qt that should be handling this. There's just not many people that understand how it can be fixed, let alone where to fix it and have the time to fix it...
Comment 19 Dotan Cohen 2008-07-08 07:43:17 UTC
@Jason: Is there a bug filed with Qt then? Please point us to the upstream bug. Thanks.
Comment 20 Jason Stubbs 2008-07-08 08:06:54 UTC
Lubos, what's the state of the QX11EmbedContainer/SystemTrayContainer workaround?
Comment 21 Lubos Lunak 2008-07-08 11:33:39 UTC
I have no idea what you are asking about.
Comment 22 Jason Stubbs 2008-07-08 13:39:53 UTC
http://mail.kde.org/pipermail/panel-devel/2008-January/004558.html

This thread. I know that there was (and still is) no other choice at the time, but the artifacts referenced in this bug started appearing after the above change was made.
Comment 23 Lubos Lunak 2008-07-08 16:19:59 UTC
That patch is in SVN.
Comment 24 Jason Stubbs 2008-07-08 16:36:48 UTC
Yes, rendering issues with icon backgrounds have been happening since that patch.

Previous to it being committed, there weren't any rendering issues as long as ARGB visuals weren't enabled - of course, there weren't any icons at all when ARGB visuals were enabled either though.
Comment 25 Sebastian Sauer 2008-07-09 05:47:16 UTC
@Jason;
well, there may multiple other workarounds someone could try like providing the XCreateWindow-hack only if visual+colormap differ and ParentRelative was defined or trying to achieve something with XSetWindowBackground/XSetWindowBackgroundPixmap/XClearWindow or whatever else. But that needs time and may introduce new funny problems/regressions. So, 4.2 (which opens soon afaik)?
Comment 26 Sebastian Sauer 2008-07-09 05:52:01 UTC
@Dotan;
re filling bugs at whereever. I would really suggest to wait here at least till after akademy where this will probably a topic according to the links provided at comment #13 and comment #14.
Comment 27 Dotan Cohen 2008-07-09 14:16:30 UTC
@Sebatian: Alright, then. Thanks. You guys know what you're doing.
Comment 28 Jason Stubbs 2008-07-09 14:19:54 UTC
Yep, that could be a possible workaround - but not a complete fix, afaik. I'm not entirely sure what the cause is as I'm not familiar with X APIs at all. Nor am I asking Lubos to fix it. I'm just asking what the status of it going upstream is as the last I heard was that Lubos would be sending a patch, although things might have changed since then.
Comment 29 Jason Stubbs 2008-07-12 13:28:08 UTC
*** Bug 161894 has been marked as a duplicate of this bug. ***
Comment 30 Aaron J. Seigo 2008-07-18 18:21:12 UTC
*** Bug 164102 has been marked as a duplicate of this bug. ***
Comment 31 Pino Toscano 2008-07-22 13:29:01 UTC
*** Bug 167186 has been marked as a duplicate of this bug. ***
Comment 32 Stefan Borggraefe 2008-08-01 00:58:18 UTC
*** Bug 165257 has been marked as a duplicate of this bug. ***
Comment 33 Jason Stubbs 2008-08-01 16:50:47 UTC
From what I can tell, corruption happens when an icon is rendered off-screen. For example, when there are two rows of icons in a horizontal panel and the panel is resized such that half a row of icons is off the screen, that half of the icons will be corrupted after they are moved to their new positions. Having a resizable panel is probably what has shown this issue to show up so blatantly...

For the record, I tried setting BackingStore to Always on both the embed container window and the embedded window but without any luck.

I think that one way to solve this issue would be to reset the background pixmap of the client window whenever a paint is issued in the containing window, but I can't seem to figure out how to convert/rerender a pixmap from one depth to another. Any pointers on how to do that so I can give it a try?
Comment 34 Gilboa Davara 2008-08-02 11:52:34 UTC
Created attachment 26566 [details]
Trashed klipper icon under Fedora 9/KDE 4.1.
Comment 35 Gilboa Davara 2008-08-02 11:53:51 UTC
FWIW I can easily duplicate this bug under Fedora 9/KDE 4.1.
Usually the klipper and/or kmix icon are trashed.

- Gilboa
Comment 36 Jason Stubbs 2008-08-02 13:07:25 UTC
Please, no more screenshots or "me too"s.
Comment 37 Jason Stubbs 2008-08-12 11:21:23 UTC
*** Bug 168603 has been marked as a duplicate of this bug. ***
Comment 38 Jithin Emmanuel 2008-08-14 07:27:09 UTC
I also have this problem I use fedora core 9 with kde 4.1
Comment 39 Jay LaCroix 2008-08-18 01:14:07 UTC
I'm not understanding why this worked fine in KDE3 but not in KDE4. Although, if I had to guess, I would say that Plasma uses a different system than KDE3 did. Regardless, KDE 4.1 is absolutely beautiful, and this bug is one heck of an eye sore if you change the theme. :(
Comment 40 Jason Stubbs 2008-09-03 03:04:55 UTC
*** Bug 170289 has been marked as a duplicate of this bug. ***
Comment 41 Tim Hutt 2008-09-06 01:26:07 UTC
Can't you just do fake transparency (i.e. ask the theme to draw the background then add the icon on top manually) until there is a better systray spec?
Comment 42 Dotan Cohen 2008-09-06 07:45:46 UTC
@Tim Hutt:
With KDE4 the devs have been reluctant to 'temporarily patch' issues to hide them. Although it means that some features remain ugly, I support this approach for two reasons:
1) The issues stays visible, so that a correct implementation will be developed and not simply swept under the carpet
2) The developers do not waste their already strained resources on 'temporary patches' that will be disposed of anyway.
Comment 43 Jay LaCroix 2008-09-06 07:47:29 UTC
I'm rather confused about this though. I understand the issue and I agree with fixing it the right way rather than putting a band aide on it. But I don't understand how in all the screenshots of the different plasma themes on KDE Look, none of those screenshots show this problem, it looks perfect. I'm just wondering what the difference is. 
Comment 44 Dotan Cohen 2008-09-06 08:21:01 UTC
@Jeremy: Ask that on a mailing list. Please do not hijack or otherwise take Bugzilla off topic. This is not a discussion forum.

You can email me off-list and we can discuss it.
Comment 45 Sebastian Turzański 2008-09-06 14:48:51 UTC
I just want to add that this bug in my opinion is not GPU-brand related as I experience it with Nvidia on the desktop and AMD (ati) on the laptop.
Comment 46 Jason Stubbs 2008-09-07 01:03:08 UTC
I have an experimental workaround that should be ready for 4.2
Comment 47 Tarah Wheeler 2008-09-11 09:35:55 UTC
I also have the black background problem with the system tray icons.  Is there any solution that doesn't involve waiting until KDE4.2?
Comment 48 Aaron J. Seigo 2008-09-11 21:33:46 UTC
"Is there any solution that doesn't involve waiting until KDE4.2? "

barring a time machine ... no. =/
Comment 49 Peter Dahlberg 2008-09-12 00:17:06 UTC
(In reply to comment #43)
> I'm rather confused about this though. I understand the issue and I agree with
> fixing it the right way rather than putting a band aide on it. But I don't
> understand how in all the screenshots of the different plasma themes on KDE
> Look, none of those screenshots show this problem, it looks perfect. I'm just
> wondering what the difference is. 
> 

These screenshots maybe were taken with Desktop Effects enabled where transparency seems to work correctly.
Comment 50 David Nolden 2008-09-15 12:41:19 UTC
Well, _is_ there at least a solution that involves waiting for KDE 4.2? Anyone knows if the refactored system-tray also suffers from this problem?
Comment 51 Dotan Cohen 2008-09-15 19:22:51 UTC
@David: ask those questions on IRC or on a mailing list. Bugzilla is the place to report problems and request features, ie, to stream information from the users to the devs. Not the other way around. Filling up bug reports with questions makes it difficult to navigate and delays features' implementation.
Comment 52 David Nolden 2008-09-15 20:26:34 UTC
@Dotan: Well, I guess everyone who subscribed to this bug would be interested in the answer to that question, so imo this is the perfect place to answer it. And please don't reply to this message, because that would be really off topic.
Comment 53 Jason Stubbs 2008-09-16 16:06:46 UTC
A somewhat old version of the workaround that I put into the rewrite has been "backported" to trunk's system tray, so it will work in some shape or form in 4.2. Given that 4.2 isn't that far away, it very likely won't be put into 4.1.
Comment 54 Jason Stubbs 2008-09-17 17:35:23 UTC
*** Bug 171211 has been marked as a duplicate of this bug. ***
Comment 55 Dirk Mueller 2008-09-23 17:39:52 UTC
Jason, whats the SVN commit revision that put the workaround in place?
Comment 56 Jason Stubbs 2008-09-24 06:09:31 UTC
Ahh, sorry.. it's not in subversion. It's uncommitted (for several weeks) in my local checkout. Either way, something definitely will be done in time for 4.2.
Comment 57 Paweł Prażak 2008-09-24 19:08:39 UTC
Nice to know it's going to be fixed, good job on KDE4, it's best kde ever!
Comment 58 Aaron J. Seigo 2008-09-27 01:01:31 UTC
*** Bug 171718 has been marked as a duplicate of this bug. ***
Comment 59 auxsvr 2008-10-01 22:39:19 UTC
Running the opensuse 11 default xorg and kde4.1.1, icons in the system tray appear normally, i.e. no transparency. Running xorg-7.4, none of the system-tray icons appear, except for superkaramba. Also in this case occasionally (~50%) the superkaramba systray icon has normal transparency!
Comment 60 Pino Toscano 2008-10-05 11:45:01 UTC
*** Bug 172179 has been marked as a duplicate of this bug. ***
Comment 61 Jean Delvare 2008-10-21 16:37:57 UTC
I'm curious how many more duplicates and Cc's it will take before this fix is backported to KDE 4.1.
Comment 62 Rex Dieter 2008-10-21 16:48:11 UTC
until 4.2 is released.
Comment 63 Oliver Putz 2008-10-23 16:53:52 UTC
*** Bug 173268 has been marked as a duplicate of this bug. ***
Comment 64 Christian Esken 2008-10-27 01:34:26 UTC
*** Bug 172109 has been marked as a duplicate of this bug. ***
Comment 65 Gilboa Davara 2008-10-28 13:36:38 UTC
Can anyone confirm that this bug is indeed fixed in 4.2 (and/or a 4.2 blocker)?

- Gilboa
Comment 66 Unknown 2008-10-28 13:40:06 UTC
No, this bug is not fixed in KDE 4.2 devel.
I'm using openSUSE 11 with KDE 4.1.71.
Comment 67 Kristjan Ugrin 2008-10-28 13:42:08 UTC
Running 4.2 from opensuse UNSTABLE repo (trunk) - there are still problems with background.
With second computer (nvidia) is even worse (icons are dissappearing). 
So be happy if you are able to at least see them :)
Comment 68 Jason Stubbs 2008-10-28 13:45:47 UTC
Does anybody building from source have problems? It should be fixed.
Comment 69 Mikko C. 2008-10-28 13:47:27 UTC
I don't see this bug anymore.
I'm using trunk compiled yesterday.
Comment 70 Kristjan Ugrin 2008-10-28 15:11:11 UTC
(In reply to comment #69)
> I don't see this bug anymore.
> I'm using trunk compiled yesterday.
> 

So exactly yesterday this bug dissapeared?
Comment 71 Mikko C. 2008-10-28 15:13:35 UTC
(In reply to comment #70)
> 
> So exactly yesterday this bug dissapeared?
> 

I did not say that.
But probably it was fixed between yesterday and the past couple weeks.
Comment 72 Médéric Boquien 2008-10-28 15:27:38 UTC
For a fact i still observed some problems with SVN trunk compiled yesterday evening.
Comment 73 David Nolden 2008-10-28 18:32:52 UTC
Seems to nearly work now in the newest OpenSUSE KDE 4.2 devel packages. There is 2 remaining problems though:
1. When you change the plasma-theme, the background is not updated, and the result looks nearly as the old problem. This can be fixed by restarting plasma.
2. Transparent parts of the icons seem to be accumulated, instead of being painted onto a fresh background with each paint. This makes for example the soft shadow in the akkregator icon deep-black after some time.
Comment 74 Jason Stubbs 2008-10-29 05:36:39 UTC
The background should be updated on a theme change and I can't see any reason it's not being. I'd like to see what patches (if any) there are in opensuse. Can I see them via the build service site? A direct link would be very helpful.

I'll need to try and reproduce the soft shadow issue. How does kopete look when its icon animates?
Comment 75 David Nolden 2008-10-29 09:55:48 UTC
https://build.opensuse.org/package/show?package=kdebase4-workspace&project=KDE:KDE4:UNSTABLE:Desktop, I cannot see any plasma-specific patches there. I've rechecked this on my desktop-machine with an nvidia graphics card, and there the fix doesn't work at all. So I just hope they don't have the newest version in yet. :)

I don't know in what situation the kopete icon animates, but what I can see is that it currently has very dark borders painted(after some usage), because of the re-painting issue.
Comment 76 Jason Stubbs 2008-11-02 06:09:58 UTC
*** Bug 174057 has been marked as a duplicate of this bug. ***
Comment 77 Michael A 2008-11-02 23:33:31 UTC
I don't know if I should open a new bug, or report here. I'll try here first.

The BG of the tray icons are black as long as you have no application window behind the task bar panel, then they take the colour of the window currently underneath (at least if you have auto-hide on).

When the icons update themselves their BG will turn black (f.i. the network applet and amarok, which update themselves frequently). 

This is very visible with taskbar auto-hide since the  the movement of the emerging icons will create the appearance of animated icon BGs from the underlying windows.
Comment 78 Jason Stubbs 2008-11-03 02:47:14 UTC
*** Bug 174133 has been marked as a duplicate of this bug. ***
Comment 79 Jason Stubbs 2008-11-09 10:27:06 UTC
For some reason, the backgrounds are not working at all when composite is enabled. With composite disabled, things are working near perfectly. Need somebody with more composite knowledge to look at this... Pretty please!
Comment 80 Unknown 2008-11-09 16:07:11 UTC
Created attachment 28439 [details]
Systray bug in the latest KDE

The bug still exists in the openSUSE version 4.1.72 (KDE 4.1.72 (KDE 4.2 >= 20081104)) "release 4.1".
Comment 81 Kristjan Ugrin 2008-11-09 16:19:22 UTC
I can confirm this too from opensuse kde 4.2 trunk packages.
Not so bad as it was, but icon background is still not transparent as panels and it has repaint issues.
Comment 82 Kőműves Ákos 2008-11-09 23:04:16 UTC
Using KDE Version 4.1.3 (KDE 4.1.3) "release 52.2" on openSUSE 11.0.
It's totally fixed and transparent now.
Comment 83 kioftes 2008-11-09 23:15:05 UTC
Recently updated to version 4.1.3 from ubuntu packages on kubuntu intrepid. Unfortunately I cannot confirm any improvement...
Comment 84 Rob Stewart 2008-11-09 23:30:07 UTC
Like Komuves Akos, I too can confirm that opensuse 4.1 KDE factory build:
kde: 4.1.3
build: 54.6

With kde desktop effects turn completely OFF, I see an almost perfect resolution to this problem. Note that with desktop effects turned off, the system tray is not transparent (with any desktop themes). All 10 icons in my system tray have adopted the panels' background colour.

There is no way for me to confirm whether or not these icons adopt the transparent appearance, as the old problem resumes when desktop effects are turned on.
Comment 85 Jason Stubbs 2008-11-10 01:54:25 UTC
Let's recap. The status of 4.1.x is that this bug will never be fixed, so no reports regarding 4.1 are necessary. The status of trunk/4.2 is that it's pretty much perfect when compositing is off and that the background isn't correctly cleared when compositing is on. Also, themes that have a translucent panel are a whole other ballgame which won't be fixed with this bug.

If there are any people running trunk/4.2 that disagree with this assessment, please post how it works on your system.
Comment 86 Domenico Camasta 2008-11-10 12:47:00 UTC
so someone should file a new bug for system tray glitches in themes with translucent panels?
Comment 87 Jason Stubbs 2008-11-10 15:41:29 UTC
Using trunk, does anybody have a corrupt background using compositing and drivers other than nvidia binaries? I haven't read anything definitive, but it looks like it should work as it is.


(In reply to comment #86)
> so someone should file a new bug for system tray glitches in themes with
> translucent panels?

Let's get this bug fully fixed first. The translucency stuff might be trivial, but it can't be tested (at least not by me) if background painting isn't working at all.
Comment 88 Médéric Boquien 2008-11-10 15:46:01 UTC
Yes, it still happens. I have a Radron HD 4850 running the proprietary drivers (no accelerated free drivers yet unfortunately) with compositing. I get some corruption with the kopete icon. When i receive a message it displays a rotating icon but the other one can still be seen in the background. I do not know if it is the same bug or not but i still had the problem with SVN trunk a few days ago.

Thanks.
Comment 89 Jason Stubbs 2008-11-10 16:21:22 UTC
http://cgit.freedesktop.org/xorg/proto/compositeproto/tree/compositeproto.txt

> RedirectSubwindows
> ...
> If update is Manual, then painting of the window background during window 
> manipulation and ClearArea requests is inhibited.


So, either kwin is not doing something it should be or the systray isn't doing something it should be. kwin people?
Comment 90 Jason Stubbs 2008-11-12 05:55:36 UTC
It turns out I was looking in the wrong direction. On IRC, it was explained to me that it's actually a Qt4 problem. When doing updates, QSystemTrayIcon hides the window, takes a snapshot of what's below and then shows the window again, fully painting the entire area. Composite gets in the way of this hack and it also explains why the icons flicker so much.
Comment 91 Wyatt Best 2008-11-12 22:02:06 UTC
Pardon the simple question (I'm a novice programmer), but what's the general solution for this? Request the screenshot from the compositor?
Comment 92 Rahul Jain 2008-11-14 13:07:03 UTC
Problem exists with kde-4.1.73(kde-crazy overlay on gentoo). No system tray icons visible - just see black rectangles. :(
Comment 93 Domenico Camasta 2008-11-14 15:37:46 UTC
As far as I can see, it seems now fixed in kde 4.1.73 from the opensuse kde unstable repo. I can just see a repaint issue (when icons are repainted you can see them disappear/reappear). Tested with oxygen.
Comment 94 Kristjan Ugrin 2008-11-14 15:39:13 UTC
Ok, this is clearly opensuse-only fix, 4.2 trunk also seems to have it fixed, unless you
are using desktop effects.
Comment 95 Jithin Emmanuel 2008-11-15 05:36:22 UTC
So is it never going to work with desktop effects?
Comment 96 Jason Stubbs 2008-11-15 10:32:57 UTC
(In reply to comment #92)
> Problem exists with kde-4.1.73(kde-crazy overlay on gentoo). No system tray
> icons visible - just see black rectangles. :(

This sounds like bug 174964.
Comment 97 eli 2008-11-16 09:06:33 UTC
Why won't translucent themes get fixed. I like my tranluscent theme. I'm using glassified and I like it.

I don't want to come off sounding rude or ungrateful, but what's the point of having a feature in place and bragging about how great it is if it contains bugs that are not going to get fixed?
Comment 98 Gados Serpente 2008-11-16 09:33:53 UTC
Who said it's never going to get properly fixed? Please stick to the facts and don't add noise to bug reports. :)
Comment 99 eli 2008-11-16 10:05:23 UTC
Jason Stubs in Comment 85.
Comment 100 pantsgolem 2008-11-16 10:16:14 UTC
Comment #85 says "won't be fixed with *this* bug." (Emphasis mine) -- not that it won't be fixed at all.

(I can't find a bug specific to that problem, so it may be the case that a new one should be filed.)
Comment 101 eli 2008-11-16 10:26:27 UTC
OK. Done and can be found at

http://bugs.kde.org/show_bug.cgi?id=175277

And the 1 million dollar question is will it be marked as a duplicate of "this" bug?
Comment 102 Riccardo Iaconelli 2008-11-18 18:23:01 UTC
background is not getting corrupted anymore, here and for many other people too (see the lastest comments).

Moreover, bug #175277 has been filed, which is specific to transparency, the only currently remaining "issue".
Time to close this! =)
Comment 103 Unknown 2008-12-11 04:00:56 UTC
This bug also happens sometimes in KDE 4.1.82 (KDE 4.2 >= 20081204)) "release 3.2".

I have "Windows-can-cover" panel and the ugly background remains there until I click on the taskbar (and only that time will it be repainted).
Maybe it is related to Bug 176325.
Comment 104 Sergio PR 2008-12-11 12:17:00 UTC
(In reply to comment #103)
> This bug also happens sometimes in KDE 4.1.82 (KDE 4.2 >= 20081204)) "release
> 3.2".
> 
> I have "Windows-can-cover" panel and the ugly background remains there until I
> click on the taskbar (and only that time will it be repainted).
> Maybe it is related to Bug 176325.
> 

Same problem here, but without "Windows-can-cover".
Comment 105 Jakub Schmidtke 2008-12-12 05:38:30 UTC
I'm not sure if this is exactly the same bug I am experiencing, but it looks similar. I am using KDE 4.1.82 in Archlinux x84_64 with nvidia drivers 177.82.
It was the same with 4.1.81.
Every time my panel hides, the background of all icons in system tray changes.
It is often inherited from the window that was below the panel, but if I just show and hide the panel several times, this background changes - it could contain parts of the window below, or just simply black, or sometimes dark grey. And it can be different for different icons too. I'll try to include sshots.
Comment 106 Jakub Schmidtke 2008-12-12 05:39:16 UTC
Created attachment 29257 [details]
Broken background of icons in systray (4.1.82)
Comment 107 Jakub Schmidtke 2008-12-12 05:41:29 UTC
Created attachment 29258 [details]
Broken background of icons in systray (4.1.82)
Comment 108 Alexander 2008-12-21 11:02:36 UTC
I can confirm this bug in KDE 4.1.85, moreover sometimes (when new icon appears in system tray) tray applet covers clock applet.. 
Comment 109 Aaron J. Seigo 2009-01-02 20:27:05 UTC
*** Bug 179310 has been marked as a duplicate of this bug. ***
Comment 110 Georg Wittenburg 2009-01-03 00:16:13 UTC
Created attachment 29846 [details]
Screenshot in 4.1.86

This problem is still present in 4.1.86 using packages from kde42.debian.net (version 4:4.1.86+svn902265-0r1).
Comment 111 Jay LaCroix 2009-01-18 00:13:00 UTC
I noticed that this bug is marked as fixed. I still have this problem on 4.2RC1, yet it corrects itself when I unhide and then rehide the system tray icons, so it is a little better.
Comment 112 Gilboa Davara 2009-01-18 06:57:12 UTC
Created attachment 30373 [details]
KDE 4.1 RC1

While looking better than KDE 4.1, KDE 4.2 still showing the same corruption.
However, unlike previous releases, once the tray is refreshed (after ~20-30 seconds), the corrupted background disappears.

- Gilboa
Comment 113 Gilboa Davara 2009-01-18 06:58:36 UTC
(P.S. KDE 4.2 RC1, KDE-SIG RPM's, Fedora 10)
Comment 114 Ruchir Brahmbhatt 2009-01-19 11:07:41 UTC
I confirm this on kde 4.2 rc1.

How to reopen this bug?
Comment 115 S. Burmeister 2009-01-19 22:38:35 UTC
Read comment 90 and file a bug at Qt-Software.
Comment 116 Ruchir Brahmbhatt 2009-01-20 09:46:06 UTC
I've filed a bug at QT.
Comment 117 Francois Botha 2009-01-20 09:49:00 UTC
And the link to the Qt bug is... ? :-/
Comment 118 Ruchir Brahmbhatt 2009-01-20 10:18:52 UTC
It is not approved yet but I got auto reply saying "We have assigned it the issue number #241734." I think it may appear in some time to below url.
http://trolltech.com/developer/task-tracker
Comment 119 Ruchir Brahmbhatt 2009-01-20 12:36:07 UTC
I just got update that it is fixed in qt 4.5.
Comment 120 Ruchir Brahmbhatt 2009-01-20 12:37:47 UTC
Also they pointed to this issue.

http://www.qtsoftware.com/developer/task-tracker/index_html?id=238743&method=entry
Comment 121 Norberto Bensa 2009-01-21 04:41:52 UTC
*** Bug 181365 has been marked as a duplicate of this bug. ***
Comment 122 Jakub Schmidtke 2009-01-21 07:39:37 UTC
I have just tried today Qt 4.5 snapshot (without recompiling KDE) - Plasma crashed a lot (probably I should have recompiled KDE ;) ), but the background issue is gone.
Comment 123 Norberto Bensa 2009-01-21 16:38:27 UTC
(In reply to comment #122)
> I have just tried today Qt 4.5 snapshot (without recompiling KDE) - Plasma
> crashed a lot (probably I should have recompiled KDE ;) ), but the background
> issue is gone.

I don't know how you managed to run kde4.2 with qt4.5 (is it beta1?) since I tried it and plasma crashes. I can't run kde4.2 RC with Qt-4.5beta1. Yeah, I recompiled kdelibs and kdebase.

Comment 124 Norberto Bensa 2009-01-21 19:52:11 UTC
qt-copy (from today) doesn't fix it.
Comment 125 Jakub Schmidtke 2009-01-21 20:29:25 UTC
Nope, not beta1, I used snapshot 20090121. Firstable, kdm crashed, so I started X without it. And Plasma crashed, until I started it with desktop effects disabled, and enabled them later. Plasma still crashed a lot though, but at least it displayed something... ;)
Comment 126 Dario Andres 2009-01-27 11:33:10 UTC
*** Bug 181448 has been marked as a duplicate of this bug. ***
Comment 127 Norberto Bensa 2009-01-27 12:05:10 UTC
Resolution says FIXED, but it is not. Instead it is a bug in Qt. Why doesn't the resolution say "NOTOURBUG" or "UPSTREAM" or something like that?

FIXED will only confuse users. Like myself :) 

This bug is not fixed. I'm running KDE 4.2 RC + Qt-copy, and I still get the systray background issue I describe here: 
http://bugs.kde.org/show_bug.cgi?id=181365

Best regards,
Norberto
Comment 128 Ruchir Brahmbhatt 2009-01-27 12:10:09 UTC
I agree with Norberto regarding resolution.
Comment 129 S. Burmeister 2009-01-27 12:48:11 UTC
qt-copy is still 4.4. Wait until 4.5 is out.
Comment 130 Dotan Cohen 2009-01-27 13:17:13 UTC
Changing resolution to UPSTREAM in light of Comment #127. It is _not_ fixed yet, but it will trickle down soon.
Comment 131 Dario Andres 2009-02-01 23:50:37 UTC
*** Bug 182727 has been marked as a duplicate of this bug. ***
Comment 132 Dario Andres 2009-02-04 21:24:25 UTC
*** Bug 183161 has been marked as a duplicate of this bug. ***
Comment 133 Dario Andres 2009-02-04 21:28:05 UTC
*** Bug 182727 has been marked as a duplicate of this bug. ***
Comment 134 Dario Andres 2009-02-05 12:52:16 UTC
*** Bug 182673 has been marked as a duplicate of this bug. ***
Comment 135 Dario Andres 2009-02-05 12:54:20 UTC
*** Bug 182338 has been marked as a duplicate of this bug. ***
Comment 136 Dario Andres 2009-02-05 22:31:21 UTC
*** Bug 183336 has been marked as a duplicate of this bug. ***
Comment 137 Glenn McCarthy 2009-02-08 09:43:42 UTC
If you are getting sick of looking at your garbled icons while you are waiting for QT 4.5, just run 'kwin --replace' and they will be cleaned up.
Comment 138 Dario Andres 2009-02-10 14:18:51 UTC
*** Bug 183810 has been marked as a duplicate of this bug. ***
Comment 139 Tony White 2009-02-11 19:14:33 UTC
Just tried out qt 4.5 on Mandriva cooker using kde 4.2 and I can confirm that it looks to have cleared this issue.
Comment 140 Dario Andres 2009-02-12 00:13:08 UTC
*** Bug 184061 has been marked as a duplicate of this bug. ***
Comment 141 simon 2009-02-12 14:02:28 UTC
yep, tried 4.5-rc1 and it works flawless
Comment 142 Ruchir Brahmbhatt 2009-02-18 10:02:40 UTC
I installed QT 4.5 rc1 but still see the icons not having transparent background. 

I have installed qt version 4.4.90+4.5.0rc1-33.1 from opensuse qt repository.
Comment 143 Dario Andres 2009-02-19 23:50:24 UTC
*** Bug 184916 has been marked as a duplicate of this bug. ***
Comment 144 Dario Andres 2009-02-20 17:25:54 UTC
*** Bug 184908 has been marked as a duplicate of this bug. ***
Comment 145 Ruchir Brahmbhatt 2009-02-21 10:21:36 UTC
I noticed that this happens to non kde4 apps like knetworkmanager3, pidgin, etc.
Comment 146 Médéric Boquien 2009-02-26 15:22:23 UTC
*** Bug 185598 has been marked as a duplicate of this bug. ***
Comment 147 Ruchir Brahmbhatt 2009-02-27 15:17:51 UTC
(In reply to comment #145)
> I noticed that this happens to non kde4 apps like knetworkmanager3, pidgin,
> etc.

I sent mail to qt and got following response.

> Remember, KDE 4.2 must be compiled and linked with 4.5.0 as well as all
> QT/KDE based programs.  If non QT/KDE program's Icons do the same
> thing, then this needs to be taken up with KDE, and they can tell us
> what exactly it is that causes this problem if it is in fact Qt.
Comment 148 Rahul Jain 2009-03-02 23:07:48 UTC
Hmm, would like to know why plasma misbehaves with non-KDE applications. In my case it is WICD - would love to see a transparent background there as well. :)
Comment 149 Vladimir Kanazir 2009-03-10 21:17:56 UTC
*** Bug 186608 has been marked as a duplicate of this bug. ***
Comment 150 Nille 2009-05-07 18:10:57 UTC
Created attachment 33440 [details]
screenshot of system tray

I got this bug in kde4.2.3 as well.
Comment 151 Sergio PR 2009-05-07 21:52:33 UTC
(In reply to comment #150)
> Created an attachment (id=33440) [details]
> screenshot of system tray
> 
> I got this bug in kde4.2.3 as well.

In order to get this bug fixed, you only have to install Qt 4.5.
Comment 152 Vincent Fortier 2009-05-08 11:43:38 UTC
Actually not totally... I'm runninf fedora 10 with KDE 4.2.2 & QT 4.5... it did totally resolved the problem for the QT/KDE based tray icons but still the Gtk/Gnome based one are not being displayed properly and that includes NetworkManager, SElinux and the "auto"-update applet...

So sadly I tend to not agree with the statement as being "fully" resolved.
Comment 153 Sergio PR 2009-05-08 13:08:39 UTC
(In reply to comment #152)
> Actually not totally... I'm runninf fedora 10 with KDE 4.2.2 & QT 4.5... it did
> totally resolved the problem for the QT/KDE based tray icons but still the
> Gtk/Gnome based one are not being displayed properly and that includes
> NetworkManager, SElinux and the "auto"-update applet...
> 
> So sadly I tend to not agree with the statement as being "fully" resolved.

Mmm I have no problem even with GTK/Gnome applications :S I have KDE 4.2.2 and Qt 4.5.1, using ArchLinux and KDE from KDEmod.
Comment 154 Rob Stewart 2009-05-08 13:32:29 UTC
Hi guys, I'm afraid I have to report that for some icons, networkmanager, pulseaudio applet icon etc... the story continues. Most of the icons are now fixed, but not all. The update of qt 4.4 to 4.5 made a difference, though the bug, for me, has not yet been fully resolved.

System:
Fedora 10
Kde 4.2.2
Qt 4.5.0

I noticed that fedora 11 (rawhide) has qt 4.5.1 packaged. Were there any bug fixes in this release for gtk icons?
Comment 155 Ruchir Brahmbhatt 2009-05-08 13:40:16 UTC
I'm on qt 4.5.1 with qt-copy patches. Also I'm running 4.3 trunk. Currently I have problem with pidgin icon(gray background). As I specified in comment #147, if it is qt bug, kde developers need to send more info to qt to help them fix it.
Comment 156 Rob Stewart 2009-05-14 00:50:01 UTC
Created attachment 33645 [details]
QT 4.5 KDE 4.2.2 + System tray bug remains

This is to show that non-QT icons are still being rendered incorrectly in the system tray with QT4.5.0 (where resolution was suppose to be), and KDE 4.2.2

Hope that helps.
Comment 157 Tony White 2009-05-15 09:42:53 UTC
Rob, Please read :

Comment #18 From Jason Stubbs

Comment #79 From Jason Stubbs

Comment #86 From Domenico Camasta

Comment #87 From Jason Stubbs

You screenshot is of a similar problem but it is related to composing only.
This problem has been resolved when composing is not used.
So it's a separate issue.

This problem is an upstream one, qt being the project upstream.
Because this bug is resolved now, a report for the icons not working using composing maybe needs to be created but it should really be just taken straight upstream.

There is also the new systray spec to be taken into account in some way; whether it resolves this or not.
Either way, posting screen shots to this report seems counter productive seeing as the report is now closed and the problem has been resolved upstream.
Comment 158 Nille 2009-05-16 19:20:52 UTC
I got this on xchat icon still.
Using kde4.2.3 qt-copy 964497
I'm do not have effects enabled using an ATI card x1400 with catalyst-9.3
If this is the wrong place to report it then where should i report it?
Comment 159 Tony White 2009-05-17 04:24:09 UTC
http://www.qtsoftware.com/developer/task-tracker

RESOLVED as UPSTREAM means the problem is upstream and the report here is resolved.

Apart from the kde version info, the qt version you have is the only other thing of significant interest and it's easy to assume that you have a copy of kde that isn't compiled against latest qt.

Is that the case?
The bug was fixed in qt4.5 IIRC.
Comment 160 Nille 2009-05-17 11:47:59 UTC
I use a rather fresh qt-copy version (it identifies it self as 4.5.1) as you can see and my kde is compiled against it (i compiled it my self).
So i wouldn't say that the problem is gone in qt4.5
Comment 161 Jonathan Thomas 2009-11-11 21:51:52 UTC
*** Bug 210362 has been marked as a duplicate of this bug. ***
Comment 162 Denis Dzyubenko 2009-11-11 23:13:51 UTC
As was pointed out https://bugs.kde.org/show_bug.cgi?id=158094#c120 - the problem was fixed upstream by adding support for _NET_SYSTEM_TRAY_VISUAL property, if it is supported by the system tray.
Comment 163 Dmitry Pisklov 2009-11-12 17:12:37 UTC
However the problem still exists with non-KDE applications (I found it again with Spotify under Wine). Here's a last message in thread describing possible fix for this:
http://lists.kde.org/?l=kde-commits&m=123146417222291&w=2

So upstream problem is fixed, but KDE problem is still there - bug should be reopened.
Comment 164 Aaron J. Seigo 2009-11-12 19:55:49 UTC
@Dmitry Pisklov: the fix went into Qt (and at some point Gtk+ as well); Spotify doesn't use either, does it?
Comment 165 Dmitry Pisklov 2009-11-12 21:14:39 UTC
2Aaron:
Doesn't Wine uses GTK (at least for tray access)?
Comment 166 Dmitry Pisklov 2009-11-12 22:02:49 UTC
For the sake of clarity (just spend few minutes discussing what my report is NOT about):

I have issue with UPDATING of plasma background under Spotify (with Wine) icon in systray. 
When I start my Spotify, icon IS transparent (i.e. it uses background of current plasma theme around). When I'm trying to change plasma theme (darker or lighter), background is not updated thus Spotify icon in tray has artefacts around (square of color of old background).
Restarting of either application or plasma fixes issue.

Qt developer (Denis Dzyubenko, ddenis) says that it's because of using fake transparency by Wine (instead of real ARGB visuals).
Anyway I think common fix to it will be readding (removing and adding back) of all tray icons within theme update.
Comment 167 Ruchir Brahmbhatt 2009-11-13 05:56:00 UTC
Also same thing happens when we toggle desktop effects. Icon background is not updated.
Comment 168 Jithin Emmanuel 2009-11-14 10:08:32 UTC
Pidgin's tray icon has non transparent background. Is this pidgins issue or is it related to this?
Comment 169 Ruchir Brahmbhatt 2009-12-06 11:06:32 UTC
I'm on kde 4.4 beta1 and qt 4.6 but the problem is still present. Pidgin icon background is not transparent.
Comment 170 Ruchir Brahmbhatt 2010-07-12 12:17:33 UTC
Not sure if it was pidgin issue, after upgrading to pidgin 2.7.1, its icon is appearing properly in systray.

Qt: 4.6.3
KDE Development Platform: 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2)) "release 2"