Joplin: linux openbox fbpanel systray regression?

Created on 21 May 2020  路  14Comments  路  Source: laurent22/joplin

I have been using Joplin for a few months, I had configured it to iconify itself in the systray and it was working, with one of the recent updates it stopped working (211 for sure, maybe even some previous, I haven't used it for a few weeks), the application remains running in the background but the icon does not appear in the systray.

Note, I use Debian / Linux, I have to update manually extracting squashfs-root and changing the chrome-sandbox privileges / owner, could it be that the icon used for the systray is not found?

Environment

Joplin version: 1.0.212
Platform: Linux
OS specifics: Debian/sid

Steps to reproduce

cd ~/.joplin
wget "https://github.com/laurent22/joplin/releases/download/v1.0.211/Joplin-1.0.211.AppImage"
chmod +x ./Joplin-1.0.211.AppImage
./Joplin-1.0.211.AppImage --appimage-extract
cd squashfs-root
sudo chown root chrome-sandbox
sudo chmod 4755 chrome-sandbox
./joplin

Tools -> options -> application -> show tray [enable]

Describe what you expected to happen

When I close the window I expect to find the joplin icon in the systray

bug desktop upstream

All 14 comments

I don't know enough about Linux to answer but the Electron framework has recently been upgraded, which maybe affects the tray icon

Ok thanks, I'll look into it and let you know.

I'm on Arch Linux with Cinnamon as desktop environment and the Gnome window manager.
Joplin-1.0.201.AppImage working tray icon.
Joplin-1.0.207.AppImage working tray icon.
Joplin-1.0.209.AppImage broken tray icon.
Joplin-1.0.212.AppImage broken tray icon as reported by @xenogenesi
Joplin-1.0.214.AppImage broken tray icon.

This issue may be related to:
No tray icon on Linux (electron@^8)

snixembed can be used as a workaround, but it's not "user friendly" out of the box. ~So maybe this could be done in the ElectronClient?~
Edit: Maybe not exactly what is needed...

I have tried the dev environment but I don't see errors / exceptions.

I confirm that the problem is the electron update that occurred between the 207 and 208, using the same electron version of the 207 in the 208 works.

https://github.com/laurent22/joplin/commit/fa76c5db8d432c15eaee56da92b6d787831e037e#diff-354b749456a435fa9636508fb6b8d653

Hi, having same problem on Solus + Budgie DE.

Managed to workaround with:
kdocker -q -o -i /usr/share/icons/MB-Pistachio-Suru-GLOW/apps/16/joplin.svg /home/pyankulov/.joplin/Joplin.AppImage

Also happens on Fedora 31 with XFCE

I skipped a few releases so I don't know exactly when it started working again, but it seems to me that with 1.3.5 it works properly.

ps: feature wish, could you do that clicking the icon shows or hides the window? Currently it seems to me that it shows it if it's hidden, but if it's visible it doesn't hide it, and I don't see options for the toggle.

pps: I switched from openbox to Cinnamon in the meantime, that might be why it works.

it seems to me that with 1.3.5 it works properly.
switched from openbox to Cinnamon in the meantime, that might be why it works

Not sure that Cinnamon caused this. Checked on 1.3.5 and it still doesn't work on Linux Mint 19.3 with Cinnamon 4.4.8.

Cinnamon 4.6.7-1 there.

Can confirm that it works on Linux Mint 20 with Cinnamon 4.6.7.

It doesn't seem to be working with Debian in either polybar or qtile.

I'm running Debian Buster with a Gnome desktop. The icon appears on first launch, but usually disappears after a while (I haven't figured out when so far). I've installed the AppIndicator and TopIcon Plus Gnome extensions to show icons.

To solve the issue I disable / enable the tray icon in Joplin's options.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gituser94x54102 picture gituser94x54102  路  38Comments

foxmask picture foxmask  路  46Comments

alexdevero picture alexdevero  路  43Comments

harmancasvi picture harmancasvi  路  34Comments

GuyOlivier picture GuyOlivier  路  37Comments