Bug 208997 - system tray not showing Qt 4.5 icons when standalone
Summary: system tray not showing Qt 4.5 icons when standalone
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: unspecified Unspecified
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 16:34 UTC by Michal Svoboda
Modified: 2012-05-28 22:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
System tray working when compositing is turned off with a white background (8.59 KB, image/png)
2009-10-25 18:25 UTC, Tony Pendolino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Svoboda 2009-09-30 16:34:36 UTC
Version:            (using KDE 4.3.1)
Installed from:    Unspecified

This is a lousy cut and paste from bug 192919, I am opening new bug as requested.

The problem persists with the latest and greatest constellation of everything
(tm). Actually, it happens on multiple of configurations (including nvidia/ati
video combos) and the common denominator seems to be Qt 4.5 (possibly 4.5.x) in
combination with the KDE systray applet.

I recently upgraded KDE to 4.3 (including Qt 4.5.2), and poof, icons vanished.
Except for Psi, which is a Qt application, but was linked to Qt 4.4.x. When I
recompiled Psi with Qt 4.5, its icon vanished.

However, before we start pointing our fingers at Qt and generally away from
KDE, I have discovered that on all the mentioned platforms, the problem happens
ONLY when systray is a standalone applet and not a part of a panel (that might
explain why some folks have a WORKSFORME). That's right: put the systray into
the panel and we have icons, remove, put it on the desktop and we don't. (Just
for the record, there is only one systray at any given time.)

To summarise, the problem is that Qt 4.5 apps icons dont show in the systray,
but only when the systray is floating on the desktop (versus embedded in
panel). Icons that show are Kmix, the uninvited (i)nformation thingy (how do i
get rid of it btw?) and generally anything that is not Qt 4.5 (Qt apps linked
to <= 4.4, GTK apps, and so on).

To be precise, the icons DO show, but mostly as a fully transparent box, or, if
you're lucky enough, random junk, but the point is they are there, you can
tease them with the mouse, they just don't display what they ought to.

So please investigate this further.
Comment 1 Tony Pendolino 2009-10-25 18:25:58 UTC
Created attachment 37826 [details]
System tray working when compositing is turned off with a white background
Comment 2 Tony Pendolino 2009-10-25 18:27:05 UTC
I am seeing the same behavior. This is on a clean Arch install with:

kde 4.3.2
qt 4.5.3
ATI M6 on radeon 6.12.4 driver
Compositing on

All behavior is exactly the same as Michael reported. In addition though, the
following scenarios show the icons correctly:

1. When the Widget Dashboard is brought up with ctrl-F12 (or any other method),
the icons appear correctly, they distort again when the Widget Dashboard is
exited
2. When compositing is turned off with alt-shift-F12, the icons change to black
boxes, bringing up the Widget Dashboard makes the icons display correctly, then
after exiting the dashboard they display almost correctly. The icons are
visible, but they are each on top of a grey box (see atachment), it is very
visible with a white background.
Comment 3 Nicky726 2009-10-31 10:54:14 UTC
I confirm this on up-to-date Arch with KDE 4.3.2, xf86-video-intel 2.8.1 and qt 4.5.3 with compositing on.
Comment 4 Marco Martin 2010-05-22 15:24:13 UTC
it's a graphics driver bug, apparently icons won't be visible on windows with ARGB disaled, and only with some graphics drivers
-could- be resolved on latest Qt tough
Comment 5 Beat Wolf 2010-06-26 10:56:53 UTC
what is the status of this in a newer kde with a newer qt? i'm closing this for now. thank you
Comment 6 Michal Svoboda 2010-06-29 14:51:29 UTC
(In reply to comment #5)
> what is the status of this in a newer kde with a newer qt? i'm closing this for
> now. thank you

Regretfully I moved away from KDE since then. Yes, it was because of this and other pains in the ass.

But you can always try it out yourself.
Comment 7 Nicky726 2010-06-29 15:39:00 UTC
I still can see this on up-to-date Arch Linux with KDE 4.4.4, Qt 4.6.3, xf86-video-nouveau 0.0.16_git20100517 with compositing off, at least for Klipper and Ibus icons.
Comment 8 Myriam Schweingruber 2012-05-28 22:26:21 UTC
Closing for lack of feedback.