Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux openbox fbpanel systray regression? #3242

Open
xenogenesi opened this issue May 21, 2020 · 14 comments
Open

linux openbox fbpanel systray regression? #3242

xenogenesi opened this issue May 21, 2020 · 14 comments
Labels
bug It's a bug desktop All desktop platforms upstream There's a problem with upstream code.

Comments

@xenogenesi
Copy link

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

@xenogenesi xenogenesi added the bug It's a bug label May 21, 2020
@laurent22
Copy link
Owner

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

@xenogenesi
Copy link
Author

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

@ei-ke
Copy link
Contributor

ei-ke commented May 22, 2020

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.

@ei-ke
Copy link
Contributor

ei-ke commented May 22, 2020

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

@ei-ke
Copy link
Contributor

ei-ke commented May 22, 2020

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...

@laurent22 laurent22 added desktop All desktop platforms upstream There's a problem with upstream code. labels May 22, 2020
@xenogenesi
Copy link
Author

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.

fa76c5d#diff-354b749456a435fa9636508fb6b8d653

@presianbg
Copy link

presianbg commented May 28, 2020

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

@dioni21
Copy link

dioni21 commented Jun 4, 2020

Also happens on Fedora 31 with XFCE

@xenogenesi
Copy link
Author

xenogenesi commented Oct 17, 2020

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.

@tiaga
Copy link

tiaga commented Oct 19, 2020

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.

@xenogenesi
Copy link
Author

Cinnamon 4.6.7-1 there.

@tiaga
Copy link

tiaga commented Oct 20, 2020

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

@zero77
Copy link

zero77 commented Oct 20, 2020

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

@p6ril
Copy link

p6ril commented Nov 6, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug desktop All desktop platforms upstream There's a problem with upstream code.
Projects
None yet
Development

No branches or pull requests

8 participants