** Changed in: mutter (Ubuntu Resolute)
       Status: New => In Progress

** Changed in: mutter (Ubuntu Stonking)
       Status: New => Fix Committed

** Changed in: mutter (Ubuntu Resolute)
   Importance: Undecided => Low

** Changed in: mutter (Ubuntu Stonking)
   Importance: Undecided => Low

** Changed in: mutter (Ubuntu Resolute)
     Assignee: (unassigned) => Alessandro Astone (aleasto)

** Changed in: mutter (Ubuntu Stonking)
     Assignee: (unassigned) => Alessandro Astone (aleasto)

** Description changed:

  [ 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
+ 2. Verify that the window icon on the dock is the Steam icon
+ 3. Hover over "Library"
+ 4. Verify that a popup appears
+ 5. 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to