"Error: Wrong type undefined; object ClutterActor expected" when switching windows using cycle-windows under Xorg
Affected version
Arch Linux
gnome-shell 1:40.0+39+gd9e953e93-1
XOrg
Bug summary
When switching windows "directly" (using cycle-windows
instead of switch-applications
keybinding) the following errors happen whenever switching between windows:
Apr 23 10:52:31.238407 gnome-shell[1420]: JS ERROR: Error: Wrong type undefined; object ClutterActor expected
set window@resource:///org/gnome/shell/ui/altTab.js:435:9
_onDestroy@resource:///org/gnome/shell/ui/altTab.js:452:9
_onDestroy@resource:///org/gnome/shell/ui/altTab.js:518:25
onComplete@resource:///org/gnome/shell/ui/switcherPopup.js:321:40
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:85:13
_easeActor/<@resource:///org/gnome/shell/ui/environment.js:168:64
Apr 23 10:52:32.091364 gnome-shell[1420]: JS ERROR: Error: Wrong type undefined; object ClutterActor expected
set window@resource:///org/gnome/shell/ui/altTab.js:435:9
_onDestroy@resource:///org/gnome/shell/ui/altTab.js:452:9
_onDestroy@resource:///org/gnome/shell/ui/altTab.js:518:25
onComplete@resource:///org/gnome/shell/ui/switcherPopup.js:321:40
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:85:13
_easeActor/<@resource:///org/gnome/shell/ui/environment.js:168:64
Apr 23 10:52:33.691925 gnome-shell[1420]: Can't update stage views actor MetaWindowGroup is on because it needs an allocation.
Apr 23 10:52:33.691935 gnome-shell[1420]: Can't update stage views actor Gjs_ui_altTab_CyclerHighlight is on because it needs an allocation.
Apr 23 10:52:33.691940 gnome-shell[1420]: Can't update stage views actor StWidget is on because it needs an allocation.
Apr 23 10:52:34.271950 gnome-shell[1420]: JS ERROR: Error: Wrong type undefined; object ClutterActor expected
set window@resource:///org/gnome/shell/ui/altTab.js:435:9
_onDestroy@resource:///org/gnome/shell/ui/altTab.js:452:9
_onDestroy@resource:///org/gnome/shell/ui/altTab.js:518:25
onComplete@resource:///org/gnome/shell/ui/switcherPopup.js:321:40
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:85:13
_easeActor/<@resource:///org/gnome/shell/ui/environment.js:168:64
Some of the windows involved are FireFox and xfce4-terminal
, and both of them don't have any window-manager decorations. The
Apr 23 10:54:48.003486 gnome-shell[1420]: Can't update stage views actor MetaWindowGroup is on because it needs an allocation.
Apr 23 10:54:48.003497 gnome-shell[1420]: Can't update stage views actor MetaWindowActorX11 is on because it needs an allocation.
Apr 23 10:54:48.003511 gnome-shell[1420]: Can't update stage views actor MetaSurfaceActorX11 is on because it needs an allocation.
Apr 23 10:54:49.050523 gnome-shell[1420]: Can't update stage views actor MetaWindowGroup is on because it needs an allocation.
Apr 23 10:54:49.050534 gnome-shell[1420]: Can't update stage views actor MetaWindowActorX11 is on because it needs an allocation.
Apr 23 10:54:49.050550 gnome-shell[1420]: Can't update stage views actor MetaSurfaceActorX11 is on because it needs an allocation.
errors also happen when maximizing a window (with decorations only, like gedit
) horizontally or vertically. These always happen in groups of 3.
Steps to reproduce
Configure cycle-windows
keybinding.
Use the new keybinding to switch between windows.
What happened
Switching windows works, but system log is spammed with error messages.
What did you expect to happen
There should be no error messages in system log when switching windows.
Relevant logs, screenshots, screencasts etc.
Relevant logs included above.
Edited by Andre Klapper