-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
[Bug]: No Tray icon for Arch Linux #36602
Comments
@trungutt this actually depends on the DE – some seems work, others don't seem to support For me on Arch Linux everything works as it should be, at least on XFCE. |
Given the PR changing to use But given this issue, it would be great to hear from Electron team on it. If Perhaps downgrading to 21.3.3 is a temporary solution for us, which has the downside of |
any news? |
@trungutt On which desktop environment do you have this problem? |
@zcbenz This happens on Arch Linux with i3 and Xorg (session started with startx). |
FTR a friend of mine using i3 on Debian (without any desktop environment) has this issue. I am using Debian unstable with GNOME 43 and I don't have the problem so far. |
Thanks for the information, it seems that i3 has always had issues with Chromium's implementations of tray icons (which we started using since #36472): i3/i3#3842. I'll see if I can fix it, if not I can make our code fallback to use libappindicator for i3. |
I think I know the root cause now, i3 actually has no support for modern app indicators, and apps using libappindicator will fallback to use GtkStatusIcon instead. |
I use Polybar. Same issue here. Downgrading to electron 20 worked |
I use Ubuntu Mate 22.04, had no Problems with old electron version. |
Preflight Checklist
Electron Version
22.0.0
What operating system are you using?
Other Linux
Operating System Version
Arch Linux, Manjaro
What arch are you using?
x64
Last Known Working Electron version
22.0.0
Expected Behavior
Be able to use Electron tray API
Actual Behavior
I cannot have any Tray icon showing up since the last release of Electron 22.0.0. I believe we change the underlying implementation for Tray API with this PR.
With Electron <= 21, it worked fine
Here's the info of OS we're using
or
I attached the minimum reproduction example here. Steps:
yarn install
yarn start
yarn add --dev electron@21.3.3
yarn start
againelectron-tray-22.zip
Testcase Gist URL
No response
Additional Information
We don't experience this issue for Mac, Windows and Ubuntu
The text was updated successfully, but these errors were encountered: