Bug 192919 - KDE4 System tray icons (fdo protocol) not being shown. (nvidia,qt4.5.1)
Summary: KDE4 System tray icons (fdo protocol) not being shown. (nvidia,qt4.5.1)
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-systemtray (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 201264 202761 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-16 19:28 UTC by Artem S. Tashkinov
Modified: 2009-09-30 16:35 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
strace -e open,access klipper (3.15 KB, application/octet-stream)
2009-05-16 19:30 UTC, Artem S. Tashkinov
Details
Context Menu + About dialog (67.01 KB, image/png)
2009-05-16 21:22 UTC, Artem S. Tashkinov
Details
I only run KDE4/Qt 4.5.1. (8.44 KB, image/png)
2009-05-16 21:23 UTC, Artem S. Tashkinov
Details
Desktop (115.00 KB, image/png)
2009-05-16 21:34 UTC, Artem S. Tashkinov
Details
Systray with Composite "off" (top) and "on" (bottom) (10.32 KB, image/png)
2009-08-03 12:31 UTC, Mikhail Krasilnikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem S. Tashkinov 2009-05-16 19:28:27 UTC
Version:            (using KDE 4.2.85)
Compiler:          4.2.4 vanilla
OS:                Linux
Installed from:    Compiled From Sources

It looks like icon search is broken in KDE 4.3.0 beta1.

Klipper starts but doesn't even want to search for its systray icon in KDE install path (/opt/kde4).

Some shell variables:

XCURSOR_PATH='/opt/kde4/share/icons::~/.icons:/usr/share/icons:/usr/share/pixmaps:/usr/X11R6/lib/X11/icons'
XCURSOR_THEME=Oxygen_Black
XDG_DATA_DIRS=/opt/kde4/share:/usr/share:/usr/local/share
Comment 1 Artem S. Tashkinov 2009-05-16 19:30:10 UTC
Created attachment 33731 [details]
strace -e open,access klipper
Comment 2 Artem S. Tashkinov 2009-05-16 20:09:24 UTC
Aaron, any ideas what caused this regression? I had no problem with KDE 4.2.3 on the same PC.
Comment 3 Artem S. Tashkinov 2009-05-16 20:24:41 UTC
Dario, you are quick to spot the duplicates, what about this bug?
Comment 4 Dario Andres 2009-05-16 20:29:58 UTC
Do you experience this with any other application ? KMix, Korgac ? 
Notice that now the Oxygen icons are part of "kdesupport" instead of being inside "kdebase-runtima" 
I didn't found any "duplicate" of this issue.
Thanks
Comment 5 Artem S. Tashkinov 2009-05-16 20:51:55 UTC
[root@localhost icons]# pwd
/opt/kde4/share/icons

[root@localhost icons]# find . -name 'klipper*'
./oxygen/16x16/apps/klipper.png
./oxygen/48x48/apps/klipper.png
./oxygen/22x22/apps/klipper.png
./oxygen/128x128/apps/klipper.png
./oxygen/32x32/apps/klipper.png
./oxygen/64x64/apps/klipper.png
./nuvola/16x16/actions/klipper_dock.png
./nuvola/16x16/apps/klipper.png
./nuvola/48x48/actions/klipper_dock.png
./nuvola/48x48/apps/klipper.png
./nuvola/22x22/actions/klipper.png
./nuvola/128x128/apps/klipper.png
./nuvola/32x32/actions/klipper_dock.png
./nuvola/32x32/apps/klipper.png
./nuvola/64x64/apps/klipper.png

I have oxygen-icons-4.2.85.tar.bz2 package installed.
Comment 6 Dario Andres 2009-05-16 20:55:43 UTC
Have you tried with other applications ? You don't have mixed KDE3/KDE4 installations ? Is the Klipper icon in the klipper menu ?
Comment 7 Artem S. Tashkinov 2009-05-16 21:22:22 UTC
Created attachment 33735 [details]
Context Menu + About dialog
Comment 8 Artem S. Tashkinov 2009-05-16 21:23:25 UTC
Created attachment 33736 [details]
I only run KDE4/Qt 4.5.1.
Comment 9 Dario Andres 2009-05-16 21:32:09 UTC
In the last screenshot, the place where the Klipper icon should be looks like garbage.. We had some trayicon garbage issues in the past, but if the other two KDE4 icons are being displayed OK it doesn't seem possible.
What is your graphics card? Intel ?
Comment 10 Artem S. Tashkinov 2009-05-16 21:34:36 UTC
Created attachment 33737 [details]
Desktop

The bug component should be changed to kdelibs/plasma/systray/whatever else.

I have found three more applications that do not show their icons: Juk, Knotes and KAlarm.
Comment 11 Dario Andres 2009-05-16 21:36:20 UTC
So.. this is a different issue.. more like a graphical bug... (bug 158094)...
Comment 12 Artem S. Tashkinov 2009-05-16 21:42:25 UTC
Icon holder place looks like garbage because the icon is
empty/missing/transparent and get replaced by whatever random stuff that was in
this place before icon was placed.

I have NVIDIA 8800GT and 180.51 drivers. KDE 4.2.3 doesn't have this problem.

I don't think bug 158094 is related to this one. Look at the strace log - it
clearly shows that the mentioned applications just 'forget' to search for their
icons in the destined folders (like /opt/kde4/share/icons).
Comment 13 Dario Andres 2009-05-16 21:54:59 UTC
I wonder how can it search and find the icon for the application itself (and the context menu) and now looking at for the systrayicon.. which should be the same.

So Juk, Knotes, KAlarm and Klipper doesn't show icons but Akonaditray, Korgac, kwallet and krandr do..
Note that this last mentioned icons are using a new (and better) systemtray icon implementation.
So I guess that is the difference

Can you create a new test account for trying this ?
Thanks
Comment 14 Dario Andres 2009-05-16 21:55:42 UTC
Can you test icons from GTK2/KDE3 applications ?
Comment 15 Artem S. Tashkinov 2009-05-16 22:05:20 UTC
I suppose a bug is in newly introduced KDE Icon Cache or in Qt 4.5.1 .

Qt3/KDE3 and GTK2 applications have no problems showing their systray icons.

Qt 4.5.1 systray demo does *not* show its icon no matter what I do.
Comment 16 Artem S. Tashkinov 2009-05-16 22:17:32 UTC
Accidentally skipped your comment #13.

> So I guess that is the difference

It looks like that.
Comment 17 Kenn 2009-05-28 05:47:18 UTC
I can confirm a similar problem.
  Kmix, Kget, KDE wallet icons appear in system tray.
  Knotes, Akregator, Klipper, Ktorrent, Skype icons do not.

The blank spaces where the icon should appear remain functional.  eg:  the tool tips and button clicks for the app icon remain functional.

Depending on the Desktop theme you either see a smooth continuation of the systray like nothing was ever there or off color squares where the icon should be.  Occasionally the off color squares "pickup" what is behind them and display that, making a systray on a hiding panel look very bad as the contents of the little squares changes and gets muddled by overlapping background images.

I saw this problem when I was on KDE 4.2.3 and qt 4.5.1.  Reverting qt back a version (I don't recall to what) solved the problem.

Current setup
KDE Version:    4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514)) "release 126"
QT Version:     4.5.1
Nvidia Version: 180.51
OS:             openSuSE 10.3
Installed from: rpm, KDE:KDE4:Factory:Desktop

KennV
Comment 18 Kenn 2009-06-24 06:14:52 UTC
Additional Information:

Upgraded to:
KDE: Version 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)) "release 138"
NVidia: 185.18.14 :: 7300 SE Card
qt: 4.5.1-48.1

System tray problem persists.

However, by chance I turned off composite in xorg.conf.  Without composite (and of course no desktop effects) the system tray displayed all icons.

So I tried the following:
composite off, desktop effects off = system tray working
composite on, desktop effects off  = system tray broken
composite on, desktop effects on   = system tray broken

I have a standard xorg.conf.  I also have a system running without the system tray problems.  The xorg.conf is very similar.  So is the package setup.

Working system:
KDE 4.2.90-92.3
NVidia 185.18.14 :: 7600 GS
qt 4.5.1-48.1

Is there anything else I can look into to try to find the cause of this bug?

KennV
Comment 19 Iuri Fiedoruk 2009-07-01 03:18:42 UTC
I have this problem in both my desktop and my eee PC. Turning composite did not helped tought.
\Both are running KDE 4.3 beta 2 on Ubuntu Jaunty and have Intel video.
Comment 20 Iuri Fiedoruk 2009-07-01 03:41:40 UTC
Just a fix: on my eeePC with desktop effects disabled, I fixed it. There was a problem on dependencies and I was missing a plasma package that was crashing the systray icons.
I'll try to remove system effects on the xorg.conf on my desktop to see if it works also on it.
Comment 21 Dario Andres 2009-07-24 04:22:42 UTC
*** Bug 201264 has been marked as a duplicate of this bug. ***
Comment 22 John Athanaselis 2009-07-24 15:47:38 UTC
Same problem here. It seems the content of the icon is the backround found in the area when the icon is drawn. Composite and effects are enabled. I also have a nvidia card with the latest drivers.
Comment 23 Mikhail Krasilnikov 2009-07-31 07:16:16 UTC
*** This bug has been confirmed by popular vote. ***
Comment 24 Dario Andres 2009-08-01 19:08:21 UTC
Can anyone else check if both Composite (on xorg.conf) and Desktop Effects disabled are a workaround for this bug?
Comment 25 Mikhail Krasilnikov 2009-08-03 12:31:13 UTC
Created attachment 35808 [details]
Systray with Composite "off" (top) and "on" (bottom)

Attachment shows system tray with Composite "off" (top) and "on" (bottom).

For me only disabling "Composite" in xorg.conf is a workaround. Changing Desktop Effects has no effect (:-)), even with X restart.

My system:
- Graphics: NVidia GeForce Go 7300; driver: self compiled NVIDIA 185.18.29
- KDE: 4.2.98 (KDE 4.3 RC3) "release 150"
- Qt: 4.5.2
- openSUSE 11.2 Milestone 4 - 2.6.30.2-1
Comment 26 Mikhail Krasilnikov 2009-08-04 08:45:43 UTC
Problem disappeared after last system update. I'm trying to determine update of which package solved it.
Comment 27 Aaron J. Seigo 2009-08-04 11:53:56 UTC
yes, these are _always_ either "wrong Qt version" or "x.org driver or configuration incompatibilities". i wish things were more sane in x.org land, but that's just one more reason we don't want to use the xembed based protocol anymore.
Comment 28 Michal Svoboda 2009-08-07 09:21:16 UTC
*** Bug 202761 has been marked as a duplicate of this bug. ***
Comment 29 Michal Svoboda 2009-08-07 09:23:27 UTC
OK, i have ran across the same issue. I'd really like to know what to do with it except turn off compositing. I am using the latest packages from arch linux (the normal, not the testing ones). Qt version is 4.5.2.
Comment 30 Artem S. Tashkinov 2009-08-07 09:25:02 UTC
Reopening, since the problem hasn't gone away (bug 202761).
Comment 31 mateusz.szygenda 2009-08-10 22:52:39 UTC
I had same issue since I upgraded qt to 4.5.2. Turning off Composite option in xorg.conf worked for me. But I found better solution, I have upgraded xorg-server and related packages from 1.3 to 1.5. After that I reinstalled the latest NVIDIA drivers(I choosed beta drivers) and now all icons appeared with Composite enabled.

KDE-4.3, Gentoo amd64, GF9600GT
xorg-server-1.5.3-r6
NVIDIA-Linux-x86_64-190.18 drivers
Comment 32 Michal Svoboda 2009-08-11 09:19:37 UTC
(In reply to comment #31)
> KDE-4.3, Gentoo amd64, GF9600GT
> xorg-server-1.5.3-r6
> NVIDIA-Linux-x86_64-190.18 drivers

I have xorg server 1.6.3. NVIDIA 190 is beta so lets wait until it comes out if this issue gets fixed.
Comment 33 John Athanaselis 2009-08-27 13:16:55 UTC
(In reply to comment #31)
> I had same issue since I upgraded qt to 4.5.2. Turning off Composite option in
> xorg.conf worked for me. But I found better solution, I have upgraded
> xorg-server and related packages from 1.3 to 1.5. After that I reinstalled the
> latest NVIDIA drivers(I choosed beta drivers) and now all icons appeared with
> Composite enabled.
> 
> KDE-4.3, Gentoo amd64, GF9600GT
> xorg-server-1.5.3-r6
> NVIDIA-Linux-x86_64-190.18 drivers

Updating to xserver to 1.5.3 fixed the issue for me also.
KDE-4.3, Fedora Core 6, 7300GS
NVIDIA-Linux-x86_64-190.18 drivers
Comment 34 John Athanaselis 2009-08-27 13:17:58 UTC
(In reply to comment #31)
> I had same issue since I upgraded qt to 4.5.2. Turning off Composite option in
> xorg.conf worked for me. But I found better solution, I have upgraded
> xorg-server and related packages from 1.3 to 1.5. After that I reinstalled the
> latest NVIDIA drivers(I choosed beta drivers) and now all icons appeared with
> Composite enabled.
> 
> KDE-4.3, Gentoo amd64, GF9600GT
> xorg-server-1.5.3-r6
> NVIDIA-Linux-x86_64-190.18 drivers

Updating to xserver to 1.5.3 fixed the issue for me also.
KDE-4.3, Fedora Core 6, 7300GS
NVIDIA-Linux-x86-190.18 drivers
Comment 35 Pawel Markowski 2009-08-28 21:19:19 UTC
I have the same problem, but, let's say, partially. I have multiseat configuration:
KDE 4.3, Debian Sid, Xorg 1.6.3, QT 4.5.2
Two gpus: Integrated 8200 and PCIE 7300GT
Two xservers are running simultaneously, one on each gpu. For seat running on 8200 systray icons are working, for seat on 7300GT they don't.
Upgrade to nvidia beta drivers (x86-190.25) didn't help.
Comment 36 Artem S. Tashkinov 2009-09-19 17:06:17 UTC
With

xorg-x11-server 1.6.3
nvidia drivers 190.32
kde 4.3.1

the issue is solved.

If you still have this issue, please, update aforementioned packages.
Comment 37 Michal Svoboda 2009-09-29 15:32:33 UTC
I would like this bug to be reopened.

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 38 Artem S. Tashkinov 2009-09-30 15:11:08 UTC
Michal, I'm quite sure you need to open a new bug report since all other people here had this problem only when systray applet is attached to "Kicker".
Comment 39 Michal Svoboda 2009-09-30 16:35:24 UTC
(In reply to comment #38)
> Michal, I'm quite sure you need to open a new bug report since all other people
> here had this problem only when systray applet is attached to "Kicker".

Bug 208997