! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Notification panel plugin loses qt5 icons on panel restart
Status:
RESOLVED: MOVED
Product:
Xfce4-panel
Component:
Notification Area

Comments

Description Nikita Zlobin 2019-07-09 18:44:10 CEST
When panel restarts, tray icons, created by qt5 applications, don't appear in notification area.
Only application restart solves problem until next panel restart.

I checked following applications (all are affected):
keepassx, qsynth, qjackctl, cadence, clementine, vlc

However, starting panel from terminal, I don't get any errors,
like in https://bugzilla.xfce.org/show_bug.cgi?id=11522
Comment 1 Simon Steinbeiss editbugs 2019-07-09 20:22:20 CEST
Which version of the panel are you using?
Comment 2 Nikita Zlobin 2019-07-10 08:21:42 CEST
For now it is 4.13.5, yet I'm going to upgrade to 4.13.6.

I'm not sure, however, that it is panel-related. I see it has systray applet, but looking to xfce4-settings-editor, I only found notification-plugin, which is from notifyd, and without any settings.
Comment 3 Nikita Zlobin 2019-07-10 08:28:08 CEST
I just tried systray to remember why I don't use. It doesn't lose qt5 icons on panel restart, but it has some other disconveniences, like not passing RMB click to icon and no revealer to show hidden icons.
Comment 4 Nikita Zlobin 2019-07-12 21:38:00 CEST
I'm setting product back, because as said above, I use notification applet fron xfce4-notifyd instead of panel itself, which are difference components.
Comment 5 Simon Steinbeiss editbugs 2019-07-13 22:41:22 CEST
I'm pretty sure this is the wrong component, xfce4-notifyd is what draws notification bubbles. And while it has a panel plugin that shows you your recent notifications I don't think that's what you're after.

Please let me know what plugin you're actually using (in the panel preferences -> items list you can hover the plugin to see its "internal name", that would be helpful) so we can try to get to the bottom of this.
Comment 6 Nikita Zlobin 2019-07-14 10:10:56 CEST
My appologies.
I did mistake, looking to settings editor - this time I remembered to check process list.
It is libsystray, shipped with panel. Another applet, that I mentioned without problems with qt5, is xfce4-statusnotifier-plugin.
Comment 7 Nikita Zlobin 2019-07-23 09:32:46 CEST
Looks like it is rather inability to pickup previously runing applications by legacy xembed-based systrays. I'm just learning:
https://specifications.freedesktop.org/systemtray-spec/systemtray-spec-0.2.html
https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/
(although I'm doing it due to different bug, it seems tray requires explicit request from app to be added)

So I just wonder, is it ever posible for non-gtk tray icons to be picked.
I recently learned bug with qjackctl tray menu (now fixed), which finally led me to above links.
Comment 8 Nikita Zlobin 2019-07-23 09:38:44 CEST
Forgot to add: After better learning about all 3 tray/notification/indicator ways I left both notification and tray apps. Current qt5 systray prefers notification interface, so problem is like avoided. Remaining apps, still in systray plugin, are gtk apps, which as said have no problem being picked up back.
Comment 9 haarp 2019-07-29 14:52:47 CEST
Can confirm. Owncloud and KeepassXC frequently disappear from the tray. It suffices to change monitors/resolution or restart Xfwm4 to trigger this.
Comment 10 Git Bot editbugs 2020-05-28 02:13:25 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/243.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15694

Reported by:
Nikita Zlobin
Reported on: 2019-07-09
Last modified on: 2020-05-28

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
4.13.6

Attachments

Additional information