Description
(1) Issue/Bug Description:
When using the launcher applications will not start-up when selecting and pressing enter on them. Instead the window will partially freeze by not refreshing the results anymore (search and navigation still works), even though pop-launcher
continuous to send new search results.
Diving deeper into the launcher code will reveal, that the issue is the unknown property Shell.AppLaunchGpu
used in launcher.ts#launch_desktop_entry
to assign gpuPref
. Everything in the stack (shell, launcher, ...) up to this point works as expected. This will crash the function almost silently and as such the code to start the applications is not reached.
journalctl
will log this problem as the following, even though it is unclear to me when the error will be printed as it doesn't seem to be attached to the crashing of the above mentioned function
JS WARNING: [/home/elizabeth/.local/share/gnome-shell/extensions/pop-shell@system76.com/launcher.js 164]: reference to undefined property "AppLaunchGpu"
(2) Steps to reproduce (if you know):
Probably using a non pop-os versioned gnome?
(3) Expected behavior:
Should launch
(4) Distribution (run cat /etc/os-release
):
Default Ubuntu 20.04 with Wayland
(5) Gnome Shell version:
3.39.6
(6) Pop Shell version (run apt policy pop-shell
or provide the latest commit if building locally):
Pop-Shell: 5220303
Pop-Launcher: pop-os/launcher@5cea115
(7) Where was Pop Shell installed from:
Manually
(10) Other Notes:
Replacing Shell.AppLaunchGpu
with an empty string will fix this problem.
My recommendation would be to wrap the assignment of gpuPref
into a try / catch block, or test beforehand whether the "needed" property exists in the gnome shell.