-
Notifications
You must be signed in to change notification settings - Fork 99
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
No tray icon on Linux since v4.2.3 (Electron v8 based build) #254
Comments
@joshirio can you list |
sure, I will! |
Closing the issue but keep it pinned for a while. |
Thanks for posting the status of the tray icon update in a dedicated issue with all the resources, working fine with |
I am using dwm with patched systray support and I tried to enable the start minimized to tray setting to see if it works with newest release. It didn't. Now I'm locked out of app because its window never appears and the config file seems to be a binary with encrypted content. How do I undo toggling that setting? |
@somospocos, To reset the flags again you could set the Besides if the app is already running and you run it again then the app window will be displayed. So there is a way to show the hidden window without the interaction with a tray icon. |
@vladimiry thank you, I have no idea how I overlooked that file. I was looking at settings.bin and saw it has encrypted content. Since ElectronMail without a systray icon is pretty much unusable to me, does it mean I need to choose between using the last old version (4.2.2 I think) which has systray support or give up on using ElectronMail? By any means, I'm not blaming you for an upstream problem. It's just that broken backwards compatibility systray support in Electron totally ruined my user experience. The reality ended being even worse than those countless Electron memes floating around online. |
There was a choice to sticking to Electron v7 or upgrading to v8. For a lot of reasons, the choice was made toward upgrading the Electron version. From my side, I believe I did at least something to tackle the issue by resetting the toggles and showing notification with a link to this issue. Many much more popular/starred Electron-based apps silently updated to Electron v8 leaving Linux users in the dark why tray icons support got broken.
No idea, the choice is yours. Addition option is to enhance the
The issue actually comes from @chromium which is used by @electron. |
Cinnamon has just resolved linuxmint/cinnamon#9176. |
Some Linux users who still experience the tray icon issue with Electron-based apps might want to try https://git.sr.ht/~steef/snixembed thing. Also see polybar/polybar#2010 (comment). |
It turned out Electron is getting rid of DBus related tray icon implementation rolled out with @chromium update in Electron v8 in favor of previously used / |
|
@joshirio Since the next/5.1.3 app version, the tray icon on Linux requires support for StatusNotifierItem |
To make the story short, if the tray icon is visible and functional then if needed just re-enable the
Start minimized to tray
and/orClose to tray
toggles on theGeneral
app settings block:If you don't see the tray icon or its menu acting flaky then keep reading the issue.
The v4.2.3+ app release is based on Electron version 8. Electron since v8 switched to use SatusNotifier tray icons which some Linux systems don't have good support for. This is why new app release resets the
Start minimized to tray
andClose to try
flags for Linux users. In along with the flags reset Linux users get the respective notification with a link to this issue:Besides, since v4.2.3 new app Linux users get the
Start minimized to tray
and/orClose to try
flags set tofalse
by default.Related upstream @electron issues:
SatusNotifier tray icons support status:
KDE
: supported out-from-the-box.Xfce
: supported (xfce4-statusnotifier-plugin
needs to be installed and then respective widget added to the panel). There is also https://gitlab.com/vala-panel-project/xfce4-sntray-plugin working plugin, alternative toxfce4-statusnotifier-plugin
.Gnome Shell
: supported with the help of preinstalled gnome-shell-extension-appindicator extension. Possible issues:Cinnamon / Mint
:"System Settings" -> "General" -> "Enable support for indicators"
flag needs to be enabled. Some issues still possible, see Linux Mint/Cinnamon doesn't support StatusNotifier tray icons standard linuxmint/cinnamon#9176.polybar
: not supported (respective issue placed). Seesnixembed
use workaround.The text was updated successfully, but these errors were encountered: