I only have a superficial knowledge of this subject, but I try to gather
all the information I find. So hopefully this helps.

It seems to me that RawTherapee is trying to conform to AppStream. I guess that 
the AppStream data file is the one from the RawTherapee repo:
https://github.com/Beep6581/RawTherapee/blob/dev/com.rawtherapee.RawTherapee.appdata.xml

It seems to me that the snap is created with the information provided there. 
The snap 'common-id' matches the AppStream 'id' -> com.rawtherapee.RawTherapee
And the AppStream 'launchable' reads as 'rawtherapee.desktop', but at the same 
time the desktop file in 'snap/gui/' reads as 
com.rawtherapee.RawTherapee.desktop

But now I'm confused what's the correct way to solve this. Is renaming
the desktop file according to the string from AppStream->launchable the
way to go? At least that's my interpretation from the snap
documentation, which says that introducing a 'common-id' leads to "This
will cause this app to use the .desktop launcher specified in the
AppStream file." - that would be 'rawtherapee.desktop'

-- 
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

Reply via email to