Focus does not switch to browser from Signal Desktop 7.34 on Linux
Using a supported version?
- [X] I have searched searched open and closed issues for duplicates.
- [X] I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package.
Overall summary
When clicking a link from Signal Desktop on Linux, the focus does not switch to the browser.
Steps to reproduce
- Any chat
- Click link
- ???
- Profit.
- Focus doesn't switch to browser.
Expected result
- Any chat
- click link
- focus switches to browser.
Actual result
The focus doesn't switch from the Desktop client to the browser when clicking the URL in the chat.
Screenshots
Screenshots don't really apply here. It's behavioral, not visual.
Signal version
7.34
Operating system
Arch Linux - Linux archdaemon 6.11.4-arch1-1-surface #1 SMP PREEMPT_DYNAMIC Sun, 20 Oct 2024 14:47:06 +0000 x86_64 GNU/Linux
Version of Signal on your phone
7.26.1
Link to debug log
https://debuglogs.org/desktop/7.34.0/3dd3cd2f5dfc9335d5a0fe486b49dd6d056a565efee3a4d4e9db3fcf7a57f871.gz
Hi! sorry this is happening for you. can you share what desktop environment and default browser you're using?
KDE Plasma, but that's not pertinent, as it was also doing it in Budgie desktop. The default browser is Firefox, but I switched to another browser and it's the same behavior. URL handling doesn't seem to be affected by the default browser, but I'm willing to be proven wrong.
thank you for the additional info!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I can confirm this is an issue. It seems to happen with virtually all electron apps.
I believe it's related to the Window focus issue on Wayland https://github.com/electron/electron/issues/30912.
That issue itself has been fixed and Signal is using a version of Electron that should have the fix. However, Signal's desktop application does not appear to be stable under Wayland currently and crashes if an X11 isn't available (at least in testing the flatpak).
I'm actually going to suggest reopening this to keep track of who's running into it.
Curiously, in looking here: https://github.com/signalapp/Signal-Desktop/issues/6368#issuecomment-2324336318 the ELECTRON_OZONE_PLATFORM_HINT=wayland "workaround" does result in a working Signal Wayland window. However, I still don't get windows focusing correctly.