Input device focus lost -> no longer able to inteact with gnome shell widgets - JS ERROR: TypeError: this._grabbedDevice is null
This issue could be related to #1311 or #1329.
Current Behaviour
It seems like it is possible to loose the focus of the input device. It is visible by having an item in the menu-bar which looks like it is currently dragged. I managed to cause this bug mostly using touchscreen, but today it seemed like the issue can be caused by the touchpad as well (never interacted with the screen at that day).
When the input focus is lost, mouse interaction is no longer possible with the gnome shell, but applications are working as nothing changed. To some extend touch input allows me to get a response, but it stuck after some time so not usable either (trying to logout via the top bar). Keyboard input does not seem to be affected.
To work around this issue the user has to manually logout via terminal using loginctl terminate-session $session_id
. After logging in again the mouse works correctly again.
Expected Behaviour
Do not cause the gnome-shell to no longer accept input.
Informations
- Device: Dell XPS 15
- OS: Arch Linux - x64
- Gnome-Version: 3.32.2
- Wayland: yes
$ journalctl -r
Jun 24 13:00:47 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 13:00:46 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 13:00:39 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 13:00:38 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 13:00:37 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 13:00:36 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 13:00:36 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 13:00:29 *** nautilus[15202]: ../gtk/gdk/wayland/gdkselection-wayland.c:261: error reading selection buffer: Vorgang wurde abgebrochen
Jun 24 13:00:27 *** systemd[10577]: gnome-terminal-server.service: Succeeded.
Jun 24 13:00:27 *** systemd[10577]: gnome-terminal-server.service: Main process exited, code=killed, status=15/TERM
Jun 24 13:00:16 *** org.gnome.Shell.desktop[11100]: [Parent 12566, Gecko_IOThread] WARNING: pipe error (104): Die Verbindung wurde vom Kommunikationspartner zurückgesetzt: file /build/firefox/src/firefox-67.0.4/ipc/c>
Jun 24 13:00:16 *** org.gnome.Shell.desktop[11100]: [Parent 12566, Gecko_IOThread] WARNING: pipe error (72): Die Verbindung wurde vom Kommunikationspartner zurückgesetzt: file /build/firefox/src/firefox-67.0.4/ipc/ch>
Jun 24 13:00:16 *** org.gnome.Shell.desktop[11100]: [Parent 12566, Gecko_IOThread] WARNING: pipe error (157): Die Verbindung wurde vom Kommunikationspartner zurückgesetzt: file /build/firefox/src/firefox-67.0.4/ipc/c>
Jun 24 13:00:00 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 13:00:00 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:59 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:59 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:58 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:57 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:56 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:54 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:53 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:53 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:52 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:52 *** gnome-shell[11100]: JS ERROR: TypeError: this._dragActor is null
_dragActorDropped@resource:///org/gnome/shell/ui/dnd.js:549:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:251:24
_getEventHandlerActor/<@resource:///org/gnome/shell/ui/dnd.js:53:20
Jun 24 12:59:22 *** kernel: audit: type=1131 audit(1561373962.346:158): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=updatedb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=suc>
Jun 24 12:59:22 *** kernel: audit: type=1130 audit(1561373962.346:157): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=updatedb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=suc>
Jun 24 12:59:22 *** audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=updatedb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 24 12:59:22 *** audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=updatedb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 24 12:59:22 *** systemd[1]: Startup finished in 20.242s (firmware) + 8.728s (loader) + 4.737s (kernel) + 25min 53.664s (userspace) = 26min 27.373s.
Jun 24 12:59:22 *** systemd[1]: Started Update locate database.
Jun 24 12:59:22 *** systemd[1]: updatedb.service: Succeeded.
Jun 24 12:59:03 *** gnome-shell[11100]: JS ERROR: TypeError: this._grabbedDevice is null
_ungrabDevice@resource:///org/gnome/shell/ui/dnd.js:182:13
_ungrabActor@resource:///org/gnome/shell/ui/dnd.js:198:9
startDrag@resource:///org/gnome/shell/ui/dnd.js:336:13
_maybeStartDrag@resource:///org/gnome/shell/ui/dnd.js:458:13
_onEvent@resource:///org/gnome/shell/ui/dnd.js:270:24
Jun 24 12:52:51 *** org.gnome.Shell.desktop[11100]: libinput error: client bug: timer event5 debounce short: offset negative (-43ms)
Jun 24 12:52:51 *** org.gnome.Shell.desktop[11100]: libinput error: client bug: timer event5 debounce: offset negative (-30ms)