shiznix / unity-gentoo

A Gentoo overlay to install the Unity desktop
70 stars 13 forks source link

missing tray icon of Joplin-App #241

Closed renegart closed 3 years ago

renegart commented 3 years ago

Joplin is a Electron-based application. Since a few weeks it's tray-icon is missing. Seems there is something broken on the tray icon integration layer

shiznix commented 3 years ago

So I installed Joplin to reproduce this - it's a pretty neat app and yes same result here, enabling systray icon in it's settings and the icon is missing. Seems Joplin's had some issues recently wrt. tray icon display problems so perhaps there has been a change to fix that has broken for other desktops? (noting it warns in it's Settings dialog that their systray icon doesn't work on all desktops).

Syslog throws some more light: indicator-application-service: Notification Item on object /StatusNotifierItem of org.kde.StatusNotifierItem-2334440-1 doesn't have enough properties

And 'ps' confirms it's joplin causing the error: ~ # ps a | grep 2334440 2334440 pts/2 Sl+ 0:01 /opt/joplin/joplin

Joplin is suffering from the same problem as Quassel, needing a patch to fix it's SNI tray icon (see profiles/ehooks/net-irc/quassel/files/SNI-systray_fix.patch).

Quassel was easy to patch, Joplin's way more convoluted because their broken implementation comes by way of Electron.

See https://github.com/polybar/polybar/issues/2010 - it seems Google 'upgraded' Electron v8 (Chromium 80.x) to now use SNI tray/menu items and the many apps that use Electron haven't yet migrated over to support that change.

Will leave open for now with a view to closing in the next couple of weeks if we can't find a way to patch in a fix during build time.

renegart commented 3 years ago

Meanwhile fixed by Joplin