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
$ uname -a
Linux tower 6.0.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 02 Dec 2022 17:25:31 +0000 x86_64 GNU/Linux
or
$ uname -a
Linux manjaro 5.15.60-1-MANJARO #1 SMP PREEMPT Thu Aug 11 13:14:05 UTC 2022 x86_64 GNU/Linux
I attached the minimum reproduction example here. Steps:
yarn install
- then
yarn start
- cannot see the Tray icon
yarn add --dev electron@21.3.3
yarn start again
- then we see the Tray icon again (should be a T-shirt png)
electron-tray-22.zip
Testcase Gist URL
No response
Additional Information
We don't experience this issue for Mac, Windows and Ubuntu
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 installyarn startyarn add --dev electron@21.3.3yarn startagainelectron-tray-22.zip
Testcase Gist URL
No response
Additional Information
We don't experience this issue for Mac, Windows and Ubuntu