On Wayland GNOME Shell, newly opened app windows are not focused when opening them while there is an "always on top" window shown at the same time
I've been trying out the GNOME Shell Wayland session again in GNOME 41 on Fedora 36, with Intel Sandybridge graphics (on a ThinkPad X220), and I've run into this very annoying window focus issue, when opening files from Nautilus (system-installed, not Flatpak) or Evolution (system-installed too).
- When opening any image file (ex: a JPEG from my downloads folder) associated with gthumb, from Nautilus or Firefox, gthumb always gets opened in the background, and if it's already open, it does not get brought to the foreground either, it silently opens the file in the background app. My version of gthumb is the Fedora system-wide installed one, not from flathub.
- When opening a PDF file with Evince, whether from Nautilus or Evolution, it will usually/often open in the background especially if the version of Evince you have is the flathub flatpak; if it's the system-installed Fedora version, it will sometimes correctly open the file with Evince put at the foreground, instead of opening it in the background. Race condition maybe?
- When opening any .odt file from Nautilus (or Evolution), with the Fedora system-installed version of LibreOffice writer, it will open in the background.
This happens whether using the touchpad mouse button or using the Enter key (in the case of Nautilus) to open/activate the file that launches the corresponding app.
As far as I can remember, these problems do not occur under the X11 version of GNOME Shell / Mutter, or I would have lost my sanity long ago :)
Edited by Jeff Fortin