SUMMARY When executing an application under 'Xwayland' (e.g. any Electron), it is unable to bring other applications into focus (e.g. Firefox). STEPS TO REPRODUCE 0. Verify that the application used to reproduce the bug is running under 'Xwayland' using 'xlsclients' (e.g. Discord); 1. Create a link or a file associated with an application (e.g. PDFs, URLs); 2. Attempt to open the file or link via the application running under 'Xwayland'. 3. Wait for the application that has been requested to gain focus to appear. OBSERVED RESULT The application for which focus has been requested opens, but it does not appear above the application from which the request was made. EXPECTED RESULT The application for which focus has been requested opens and is displayed above the application from which the request was made. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.4.3 KDE Frameworks Version: 6.16.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION This issue does not occur when a dialog window (e.g., Firefox's "Download" dialog) is invoked.
Both the sending and receiving app are non-KDE apps, which means it's out of our hands here. Both the sending and receiving apps need to implement the Wayland activation protocol properly, and it's common for both Electron apps and Firefox to have problems here.