Applications do not receive focus in Wayland sessions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
Fix Released
|
Unknown
|
|||
Mutter |
Fix Released
|
Unknown
|
|||
gnome-shell (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned | ||
mutter (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
On a fresh install of Ubuntu 19.04 applications that are started from the dash inside a Wayland session often do not receive focus.
The behavior is inconsistent. Some applications (like the terminal) always properly get the focus. Some like GEdit en Chromium mostly do not receive focus until suddenly they do. It seems to depend on other applications that are already open and may have the focus but I could not discover the exact pattern.
Once clicked or Alt-tabbed into the applications work as expected. But when you simply start typing after opening, for example, GEdit the keystrokes may go to an application window that has just been obscured buy the newly opened one.
This bug is similar to bug 1817924 but that one apparently is limited to X sessions.
[ QA ]
No further verification as this is a fix coming with a GNOME micro release update that is covered by this exception https:/
----
ProblemType: BugDistroRelease: Ubuntu 19.04
Package: gnome-shell 3.32.0+
ProcVersionSign
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 24 11:43:33 2019
DisplayManager: gdm3
InstallationDate: Installed on 2019-04-24 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Daniel van Vugt: Approve
- Ubuntu Desktop: Pending requested
-
Diff: 2243 lines (+469/-710)32 files modifiedNEWS (+31/-0)
data/dbus-interfaces/org.gnome.Shell.xml (+0/-3)
data/gnome-shell-theme.gresource.xml (+0/-2)
data/theme/gnome-shell-sass/_common.scss (+9/-8)
data/theme/toggle-off-intl.svg (+45/-151)
data/theme/toggle-on-intl.svg (+45/-134)
debian/.gitignore (+10/-0)
debian/changelog (+76/-0)
debian/clean (+1/-0)
debian/patches/magnifier-Show-cursor-when-magnifier-is-enabled-and-scale.patch (+10/-10)
debian/patches/optional-hot-corner.patch (+1/-1)
debian/patches/ubuntu/resolve_alternate_theme_path.patch (+1/-1)
debian/patches/ubuntu/search-call-XUbuntuCancel-method-on-providers-when-no-dat.patch (+1/-1)
debian/rules (+13/-1)
dev/null (+0/-207)
js/extensionPrefs/main.js (+3/-3)
js/perf/hwtest.js (+6/-3)
js/ui/appFavorites.js (+16/-8)
js/ui/barLevel.js (+15/-12)
js/ui/boxpointer.js (+27/-61)
js/ui/dash.js (+5/-9)
js/ui/dateMenu.js (+11/-5)
js/ui/layout.js (+1/-1)
js/ui/osdMonitorLabeler.js (+0/-22)
js/ui/panel.js (+1/-2)
js/ui/popupMenu.js (+0/-6)
js/ui/screenshot.js (+6/-26)
js/ui/shellDBus.js (+7/-10)
js/ui/windowManager.js (+37/-11)
js/ui/workspacesView.js (+85/-10)
meson.build (+1/-1)
src/st/st-theme-node.c (+5/-1)
- Iain Lane: Needs Fixing
- Daniel van Vugt: Approve
-
Diff: 954 lines (+459/-106)18 files modifiedNEWS (+30/-0)
clutter/clutter/clutter-device-manager.c (+1/-7)
clutter/clutter/evdev/clutter-input-device-evdev.c (+7/-7)
cogl/cogl/winsys/cogl-winsys-glx.c (+29/-29)
debian/changelog (+29/-0)
debian/patches/clutter-evdev-disable-mousekeys-with-Numlock-ON.patch (+64/-0)
debian/patches/clutter-x11-disable-mousekeys-with-Numlock-ON.patch (+85/-0)
debian/patches/compositor-Destroy-window-actors-list-on-destruction.patch (+63/-0)
debian/patches/meson-add-back-default_driver-option.patch (+1/-1)
debian/patches/series (+3/-0)
debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch (+23/-20)
meson.build (+1/-1)
src/backends/native/meta-renderer-native.c (+68/-25)
src/core/display.c (+1/-1)
src/core/keybindings.c (+2/-0)
src/core/startup-notification.c (+47/-10)
src/wayland/meta-wayland-outputs.c (+4/-4)
src/x11/meta-startup-notification-x11.c (+1/-1)
Changed in gnome-shell: | |
status: | Unknown → Fix Released |
Changed in mutter: | |
status: | Unknown → Fix Released |
summary: |
- Applications started from the dash often do not receive focus + Applications do not receive focus in Wayland sessions |
Changed in gnome-shell (Ubuntu): | |
importance: | Low → Medium |
Changed in mutter (Ubuntu): | |
importance: | Undecided → Medium |
Changed in gnome-shell (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in mutter (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
Thank you for your bug report, could you also send the issue upstream on https:/ /gitlab. gnome.org/ GNOME/gnome- shell ?