Slight correction from the analysis above, gnome-shell does not use DesktopFile from `snap routine portal-info $(pidof rawtherapee)` (yet), but uses `/proc/$(pidof rawtherapee)/attr/current` instead.
`/proc/$(pidof rawtherapee)/attr/current` reads out as `snap.rawtherapee.rawtherapee` which is mangled into `rawtherapee_rawtherapee` and used as desktop filename. Instead, the desktop filename is "rawtherapee_com.rawtherapee.RawTherapee.desktop" which does not match, so gnome-shell refuses it as intended. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2092803 Title: GNOME dash not grouping snap application instances according to same WM_CLASS Status in gnome-shell package in Ubuntu: New Status in snapd package in Ubuntu: New Bug description: In some instances, the GNOME dash does not group different instances with the same wmclass. Tested with Ubuntu 24.04.1 LTS (GNOME Shell 46.0, snap/snapd 2.66.1+24.04) and confirmed on Ubuntu 24.10 To reproduce: - install rawtherapee snap -> sudo snap install rawtherapee - Pin to Dash the rawtherapee icon - Launch RawTherapee from the dash and see that the instance is given a new default application icon - expected behaviour ist that it's grouped under the colorful RawTherapee icon. I've attached an screenshot showing the problem. In the screenshot you see: 1. the RawTherapee icon is pined to the dash. I start the program from this icon. 2. an open RawTherapee window is grouped into a new group with the default icon instead of the icon group from 1. 3. the snap desktop file shows that RawTherapee will start with the wmclass=rawtherapee, thus I expect all instances with wmclass=rawtherapee to be grouped into the icon group 1. 4. GNOME looking glass indeed confirms that the RawTherapee instance has wmclass=rawtherapee, so why is it not grouped into 1.? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2092803/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

