JS error when opening app from app folder
Affected version
Fedora 35 - wayland session gnome-shell 41.1
Bug summary
Opening an app in an app group triggers a JS stack trace.
Dec 07 01:54:14 fedora gnome-shell[19866]: Object .Gjs_ui_windowPreview_WindowPreview (0x5592628d6770), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Dec 07 01:54:14 fedora gnome-shell[19866]: == Stack trace for context 0x5592620a8190 ==
Dec 07 01:54:14 fedora gnome-shell[19866]: #0 5592621ae250 i resource:///org/gnome/shell/ui/grabHelper.js:280 (7856923150 @ 455)
Dec 07 01:54:14 fedora gnome-shell[19866]: #1 5592621ae1b0 i resource:///org/gnome/shell/ui/appDisplay.js:3079 (78569e3c90 @ 182)
Dec 07 01:54:14 fedora gnome-shell[19866]: #2 7ffeb59044f0 b resource:///org/gnome/shell/ui/appDisplay.js:2469 (78569edbf0 @ 41)
Dec 07 01:54:14 fedora gnome-shell[19866]: #3 5592621ae100 i resource:///org/gnome/shell/ui/iconGrid.js:1290 (78569faf60 @ 34)
Dec 07 01:54:14 fedora gnome-shell[19866]: #4 5592621ae068 i resource:///org/gnome/shell/ui/appDisplay.js:1045 (78569f0510 @ 65)
Dec 07 01:54:14 fedora gnome-shell[19866]: #5 7ffeb5907710 b resource:///org/gnome/shell/ui/appDisplay.js:1477 (78569efba0 @ 84)
Dec 07 01:54:14 fedora gnome-shell[19866]: #6 5592621adfd0 i resource:///org/gnome/shell/ui/overviewControls.js:673 (78569e23d0 @ 39)
Dec 07 01:54:14 fedora gnome-shell[19866]: #7 5592621adf40 i resource:///org/gnome/shell/ui/layout.js:312 (78569053d0 @ 22)
Dec 07 01:54:14 fedora gnome-shell[19866]: #8 5592621adea8 i resource:///org/gnome/shell/ui/overview.js:617 (78569d7ce0 @ 190)
Dec 07 01:54:14 fedora gnome-shell[19866]: #9 5592621ade20 i resource:///org/gnome/shell/ui/overview.js:594 (78569d7d30 @ 12)
Dec 07 01:54:14 fedora gnome-shell[19866]: #10 5592621add98 i resource:///org/gnome/shell/ui/overviewControls.js:715 (78569e2290 @ 55)
Dec 07 01:54:14 fedora gnome-shell[19866]: #11 7ffeb590aa80 b resource:///org/gnome/shell/ui/environment.js:129 (f340c3bf650 @ 39)
Dec 07 01:54:14 fedora gnome-shell[19866]: #12 5592621add08 i resource:///org/gnome/shell/ui/environment.js:295 (f340c3bf150 @ 14)
Dec 07 01:54:14 fedora gnome-shell[19866]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Steps to reproduce
I need to follow this exact sequence to consistently reproduce it.
- Click Activities button in top bar (can also hit super)
- Click Show Applications button in dash
- Open an app that resides in an app group
For 1. I can also reproduce by hitting super key to get to the dash but found it happens about 50% of the time, may depend on how fast I do, if I do it slowly I think it happens more consistently.
Going straight to the app screen with super+a does not trigger this for me.
What happened
JS crash.
What did you expect to happen
Relevant logs, screenshots, screencasts etc.
Edited by Sebastian Keller