Background apps are empty when a development version of an app is in background
Affected version
- Fedora 38
- GNOME Shell 44.1
- Wayland+X11
Bug summary
When building an application, e.g. Amberol, and running it in the background, the list of background apps is empty, even though there are apps running in the background.
Steps to reproduce
- Build development version of Amberol
- Add song
- Close the window and let it run in background
What happened
The list of background apps in the quick settings menu is empty, even though there are some.
What did you expect to happen
It should still show all available apps that run in the background.
Relevant logs, screenshots, screencasts etc.
journalctl shows:
JS ERROR: TypeError: a.app is null
_sync/<@resource:///org/gnome/shell/ui/status/backgroundApps.js:202:17
_sync@resource:///org/gnome/shell/ui/status/backgroundApps.js:201:14
_init/</<@resource:///org/gnome/shell/ui/status/backgroundApps.js:143:67
which points to this I guess: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/83e7f94513878b7bc858c6583d9b4d52d981e311/js/ui/status/backgroundApps.js#L201-219
So this is probably failing:
const app = this._appSystem.lookup_app(`${appId}.desktop`);
Picture: