Public bug reported: Description: After switching focus to a different application window in GNOME Shell on Ubuntu 24.04, typing input is intermittently sent to the previously active window instead of the newly focused one. This occurs roughly every third window switch and happens regardless of "focus follows mouse" or similar focus settings. The issue is reproducible with multiple native and non-native applications and causes significant workflow disruption.
Expected behavior: Keyboard input should always be directed to the currently focused window immediately upon switching. Actual behavior: Keyboard input is mistakenly directed to the last previously focused window, despite the active window appearing visually focused. Environment: Ubuntu 24.04 LTS GNOME Shell 46.0 Extensions: [email protected] [email protected][email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] X11 session (no “focus follows mouse” enabled) $`gsettings list-recursively org.gnome.desktop.wm.preferences | grep focus` org.gnome.desktop.wm.preferences focus-mode 'click' org.gnome.desktop.wm.preferences focus-new-windows 'smart' Multi-monitor setup (one additional screen usually, but occurs in single screen mode similarly) Steps to reproduce: Switch from one window to another (via mouse click or keyboard shortcut). Start typing. Observe that the input is sent to the prior window rather than the currently focused window (and archiving mail messages, deleting stuff or whatever shortcuts are bound to usual keys in the previous app). ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: gnome-shell 46.0-0ubuntu6~24.04.9 ProcVersionSignature: Ubuntu 6.8.0-1032.32-oem 6.8.12 Uname: Linux 6.8.0-1032-oem x86_64 ApportVersion: 2.28.1-0ubuntu3.8 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Fri Sep 12 17:08:19 2025 DisplayManager: gdm3 InstallationDate: Installed on 2023-02-08 (947 days ago) InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1) ProcEnviron: LANG=de_DE.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> RelatedPackageVersions: mutter-common 46.2-1ubuntu0.24.04.10 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gnome-shell (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2122693 Title: Keyboard input goes to previous window after switching in GNOME Shell on Ubuntu 24.04 Status in gnome-shell package in Ubuntu: New Bug description: Description: After switching focus to a different application window in GNOME Shell on Ubuntu 24.04, typing input is intermittently sent to the previously active window instead of the newly focused one. This occurs roughly every third window switch and happens regardless of "focus follows mouse" or similar focus settings. The issue is reproducible with multiple native and non-native applications and causes significant workflow disruption. Expected behavior: Keyboard input should always be directed to the currently focused window immediately upon switching. Actual behavior: Keyboard input is mistakenly directed to the last previously focused window, despite the active window appearing visually focused. Environment: Ubuntu 24.04 LTS GNOME Shell 46.0 Extensions: [email protected] [email protected][email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] X11 session (no “focus follows mouse” enabled) $`gsettings list-recursively org.gnome.desktop.wm.preferences | grep focus` org.gnome.desktop.wm.preferences focus-mode 'click' org.gnome.desktop.wm.preferences focus-new-windows 'smart' Multi-monitor setup (one additional screen usually, but occurs in single screen mode similarly) Steps to reproduce: Switch from one window to another (via mouse click or keyboard shortcut). Start typing. Observe that the input is sent to the prior window rather than the currently focused window (and archiving mail messages, deleting stuff or whatever shortcuts are bound to usual keys in the previous app). ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: gnome-shell 46.0-0ubuntu6~24.04.9 ProcVersionSignature: Ubuntu 6.8.0-1032.32-oem 6.8.12 Uname: Linux 6.8.0-1032-oem x86_64 ApportVersion: 2.28.1-0ubuntu3.8 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Fri Sep 12 17:08:19 2025 DisplayManager: gdm3 InstallationDate: Installed on 2023-02-08 (947 days ago) InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1) ProcEnviron: LANG=de_DE.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> RelatedPackageVersions: mutter-common 46.2-1ubuntu0.24.04.10 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2122693/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

