Public bug reported:
[ Impact ]
Mutter incorrectly assumes that a snap that is trying to show a window
has only desktop apps defined.
One "app" is an entry point into the snap. Some snaps, like Steam, have
multiple "apps" defined. Only one of them is the actual steam client,
while other apps are command-line tools.
When trying to identify which snap "app" a certain window is coming
from, mutter iterates all the "apps" defined in the snap parsing their
metadata. In doing so, it assumes that every app has a "desktop-entry"
field which causes a warning to be printed to the journal for every non-
desktop app defined by the snap, every time that snap tries to open a
window (including popups and similar, for X11 windows).
[ Test Plan ]
1. Launch the Steam snap
2. Hover over "Library"
3. Verify that a popup appears
4. Verify that `journalctl` does not show any lines with:
json_object_get_string_member: assertion 'node != NULL' failed
[ Where problems could go wrong ]
The patch modifies logic relevant to associating a window with a snap
application. In case of issues, windows would display the wrong icon in
the desktop dock and overview.
** Affects: mutter (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2150242
Title:
mutter logs "json_object_get_string_member: assertion 'node != NULL'
failed"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2150242/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs