There has been an outstanding bug in KDE for a while in that hp-systray is included in autostart but kde tries to start it before the system tray is actually created, leading to a bogus popup error saying that it can't start because no system tray exists. The workaround in KDE4 (which MGA never implemented to my knowledge) was to replace the startup command "hp-systray" with "sh -c sleep 15;hp-systray". However, in plasma, there is no mention in Autostart of hp-systray, and this error is back. I presume that plasma is using some other mechanism to start hp-systray, so a new workaround is needed. I'm starting with plasma because the execution of hp-systray is clearly linked to the system tray, and it wouldn't make sense to have it launched by anything else. If I'm wrong, please reassign. If this isn't desktop-specific, perhaps the solution is to have hp-systray (which is a link to a python executable) be replaced by a script which does a sleep before invoking hp-systray. Reproducible: Steps to Reproduce:
Assignee: bugsquad => mageia
(In reply to Frank Griffin from comment #0) > > If this isn't desktop-specific, perhaps the solution is to have hp-systray > (which is a link to a python executable) be replaced by a script which does > a sleep before invoking hp-systray. I did exactly this, and it works fine. Ping ?
ah, thx for telling me about this report, Frank, I had missed it.
CC: (none) => marja11
I believe the autostart of hp-systray is triggered in a desktop-independent way by /etc/xdg/autostart/hp-systray.desktop, so a fix could be set there. Though I'd also like a way to *disable* this autostart, right now I have to delete the file as I don't want the hp-systray to start when I have no hp printer (but all printer-related stuff requires hplip and thus hp-systray... but that's another issue).
Blocks: (none) => 17523
Assigning to all packagers collectively as the fix should likely be made in hplip.
CC: (none) => mageiaAssignee: mageia => pkg-bugs
dup of https://bugs.mageia.org/show_bug.cgi?id=16091?
(In reply to Marek Laane from comment #5) > dup of https://bugs.mageia.org/show_bug.cgi?id=16091? It looks like a duplicate. Frank, can you comment?
(In reply to Samuel VERSCHELDE from comment #6) > (In reply to Marek Laane from comment #5) > > dup of https://bugs.mageia.org/show_bug.cgi?id=16091? > > It looks like a duplicate. Frank, can you comment? Yes, indeed. I'll mark the older one as a dup since there's more information here.
*** Bug 16091 has been marked as a duplicate of this bug. ***
Bug #16091 says mga5 too. I cannot duplicate it in mga5 and I have 6 boxes, 4 on real HW and one on VBOX
CC: (none) => thomas
It doesn't happen all of the time, and only on KDE so far. Can we just agree on adding the fix from https://bugs.mageia.org/show_bug.cgi?id=16091#c1 as it shouldn't hurt at all ...
CC: (none) => doktor5000
(In reply to Florian Hubold from comment #10) > It doesn't happen all of the time, and only on KDE so far. Can we just agree > on adding the fix from https://bugs.mageia.org/show_bug.cgi?id=16091#c1 as > it shouldn't hurt at all ... Yes, it looks better.
CC: (none) => lists.jjorge
(In reply to Florian Hubold from comment #10) > It doesn't happen all of the time, and only on KDE so far. Can we just agree > on adding the fix from https://bugs.mageia.org/show_bug.cgi?id=16091#c1 as > it shouldn't hurt at all ... But the suggestion in that bug can't be implemented...
(In reply to Frank Griffin from comment #12) > But the suggestion in that bug can't be implemented... Why not? Just add X-KDE-autostart-after=panel to the .desktop file.
See https://bugs.mageia.org/show_bug.cgi?id=16091#c3 . There's no such desktop file and no mention of systray in the hplip.desktop file.
(In reply to Frank Griffin from comment #14) > See https://bugs.mageia.org/show_bug.cgi?id=16091#c3 . There's no such > desktop file and no mention of systray in the hplip.desktop file. Well (the ".bak" comes from the fact that I moved this file to avoid getting the annoying systray starting up when I don't use any HP printer): $ cat /etc/xdg/autostart/hplip-systray.desktop.bak [Desktop Entry] Version=0.6 Type=Application Name=HP System Tray Service GenericName=Printer Status Applet Comment=HP System Tray Service Exec=hp-systray -x Icon=/usr/share/hplip/data/images/128x128/hp_logo.png Terminal=false Categories=Application;Utility; X-KDE-StartupNotify=false StartupNotify=false
I pushed the fix proposed in https://bugs.mageia.org/show_bug.cgi?id=16091#c1
(In reply to Rémi Verschelde from comment #16) > I pushed the fix proposed in https://bugs.mageia.org/show_bug.cgi?id=16091#c1 http://svnweb.mageia.org/packages?view=revision&revision=926656
OK, my mistake, sort of. The fix in the other bug mentioned hplip-systray.desktop, but didn't specify the directory. I assumed in was in /usr/share/applications with all the others.
Everything that is getting automatically run via a .desktop file is in /etc/xdg/autostart See http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
is it OK now ?
i don't see any error anymore
Status: NEW => RESOLVEDResolution: (none) => FIXED