Public bug reported: With an always-on-top window opened, Alt + Tab will, instead of giving (keyboard) focus to the chosen window, focus will go to the always-on- top window.
Reproducing steps: 1. Make sure your Ubuntu session is a Wayland session. 2. Open Firefox. Make sure it uses Wayland, launch with `env MOZ_ENABLE_WAYLAND=1 firefox`. 3. Play a YouTube video, and then clicks the Picture-in-Picture buttton. 4. Due to Wayland limitation, right-click on the PiP window and choose "Always on top". 5. Open another window of anything e.g. a terminal. 6. Press Alt + Tab to switch to the browser. Expected result: focus goes to the browser. If on YouTube, you should be able to press '/' and cursor should go to the search box. Actual result: focus goes to the PiP window. This also happens if e.g. you use Alt + Shift to change keyboard languages. The system is Ubuntu 22.04 running Gnome-shell-based, Wayland, Ubuntu session. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: gnome-shell 42.5-0ubuntu1 ProcVersionSignature: Ubuntu 5.15.0-53.59-generic 5.15.64 Uname: Linux 5.15.0-53-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Fri Nov 18 23:16:42 2022 DisplayManager: gdm3 InstallationDate: Installed on 2021-03-15 (612 days ago) InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=th_TH.UTF-8 SHELL=/bin/bash RelatedPackageVersions: mutter-common 42.5-0ubuntu1 SourcePackage: gnome-shell UpgradeStatus: Upgraded to jammy on 2022-10-22 (26 days ago) ** Affects: gnome-shell (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug jammy wayland-session -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1997099 Title: Alt + Tab gives focus to the always-on-top window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1997099/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs