[Bug 2092803] Re: GNOME dash not grouping snap application instances according to same WM_CLASS

2025-01-15 Thread Daniel van Vugt
** Changed in: gnome-shell (Ubuntu)
   Status: New => Invalid

** Changed in: snapd (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092803

Title:
  GNOME dash not grouping snap application instances according to same
  WM_CLASS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2092803/+subscriptions


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

[Bug 2092803] Re: GNOME dash not grouping snap application instances according to same WM_CLASS

2025-01-15 Thread Siegfried
I can confirm that the latest update does indeed solve the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092803

Title:
  GNOME dash not grouping snap application instances according to same
  WM_CLASS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2092803/+subscriptions


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

[Bug 2092803] Re: GNOME dash not grouping snap application instances according to same WM_CLASS

2025-01-15 Thread Sergei Mikhaltsov
Hi, thank you all for participating. I fixed the error.

❯ snap routine portal-info $(pdf rawtherapee)
[Snap Info]
InstanceName=rawtherapee
AppName=rawtherapee
DesktopFile=rawtherapee_rawtherapee.desktop
CommonID=com.rawtherapee.RawTherapee
HasNetworkStatus=false

Now the grouping is working, as I see it

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092803

Title:
  GNOME dash not grouping snap application instances according to same
  WM_CLASS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2092803/+subscriptions


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

[Bug 2092803] Re: GNOME dash not grouping snap application instances according to same WM_CLASS

2025-01-09 Thread Siegfried
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092803

Title:
  GNOME dash not grouping snap application instances according to same
  WM_CLASS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2092803/+subscriptions


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

[Bug 2092803] Re: GNOME dash not grouping snap application instances according to same WM_CLASS

2025-01-07 Thread Alessandro Astone
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092803

Title:
  GNOME dash not grouping snap application instances according to same
  WM_CLASS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2092803/+subscriptions


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

[Bug 2092803] Re: GNOME dash not grouping snap application instances according to same WM_CLASS

2025-01-07 Thread Alessandro Astone
James, is the rawtherapee snap doing something wrong, or is this a snapd
bug?

I see it does not specify
apps:
rawtherapee:
  desktop: <>
in snap/manifest.yaml, but still it has an entry at 
`/var/lib/snapd/desktop/applications/rawtherapee_com.rawtherapee.RawTherapee.desktop`
 so snapd is at least aware of a desktop file.

** Also affects: snapd (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092803

Title:
  GNOME dash not grouping snap application instances according to same
  WM_CLASS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2092803/+subscriptions


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

[Bug 2092803] Re: GNOME dash not grouping snap application instances according to same WM_CLASS

2025-01-07 Thread Alessandro Astone
snaps are only allowed to match the desktop file they provide, so
StartupWMClass does not actually matter.

For rawtherapee, it seems that snapd is unable to determine its desktop
file:

$ snap routine portal-info $(pidof rawtherapee) 
[Snap Info]
InstanceName=rawtherapee
AppName=rawtherapee
DesktopFile=.
CommonID=com.rawtherapee.RawTherapee
HasNetworkStatus=false


** No longer affects: gnome-shell-extension-desktop-icons-ng (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092803

Title:
  GNOME dash not grouping snap application instances according to same
  WM_CLASS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2092803/+subscriptions


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

[Bug 2092803] Re: GNOME dash not grouping snap application instances according to same WM_CLASS

2025-01-06 Thread Daniel van Vugt
** Tags added: noble oracular

** Also affects: gnome-shell-extension-desktop-icons-ng (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092803

Title:
  GNOME dash not grouping snap application instances according to same
  WM_CLASS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2092803/+subscriptions


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