[Bug]: On Wayland closing apps to the system tray, then reopening them makes the app forget which monitor it was previously opened on (Signal, ProtonVPN, MullvadVPN)
Victor239 opened this issue · comments
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
19.0.5
What operating system are you using?
Ubuntu
Operating System Version
Kubuntu 22.04
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
- When closing these apps they normally stay open as system tray icons to allow easily monitoring and reopening them.
- When using a PC with multiple physical monitors, reopening these apps from the system tray should remember which monitor it was last opened on.
Tested on Signal Desktop, ProtonVPN and MullvadVPN. On a Wayland desktop, opening these apps in Electron Wayland mode --ozone-platform=wayland
.
Actual Behavior
Reopening these apps from the system tray forgets which monitor it was last opened on. It seems to default to the primary monitor.
Testcase Gist URL
No response
Additional Information
No response
Thanks for reporting this and helping to make Electron better!
Because of time constraints, triaging code with third-party dependencies is usually not feasible for a small team like Electron's.
Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.
Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.
I'm adding the blocked/need-repro
label for this reason. After you make a test case, please link to it in a follow-up comment.
Thanks in advance! Your help is appreciated.
We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. In this event, i'm going to go ahead and close this but can reopen should you follow up with more info!