AppDisplay: JS ERROR: TypeError: this._placeholder is null
I can reproduce this in GNOME Shell 42 but it might be present since GNOME Shell 40.1. Looks like the bug was introduced with commit 6fc93b78.
Steps to reproduce
- open the application grid;
- move an application from the dash to the grid;
- click on the moved application.
Expected behavior
No JS Errors.
Actual behavior
The following error is shown:
Gjs-CRITICAL **: 18:22:39.003: JS ERROR: TypeError: this._placeholder is null
_ensurePlaceholder/<@resource:///org/gnome/shell/ui/appDisplay.js:1477:17
vfunc_button_press_event@resource:///org/gnome/shell/ui/appDisplay.js:3121:27