Alt + Tab gives focus to the always-on-top window
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Fix Released
|
Unknown
|
|||
mutter (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
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_
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
ProcVersionSign
Uname: Linux 5.15.0-53-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
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-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=th_TH.UTF-8
SHELL=/bin/bash
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to jammy on 2022-10-22 (26 days ago)
tags: | added: focus |
Changed in gnome-shell (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in mutter (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
no longer affects: | gnome-shell (Ubuntu) |
Changed in mutter (Ubuntu): | |
status: | Triaged → Fix Committed |
tags: | added: fixed-in-mutter-43.1 fixed-upstream |
Changed in mutter: | |
status: | Unknown → Fix Released |
tags: | added: rls-jj-incoming |
Status changed to 'Confirmed' because the bug affects multiple users.