flathub / com.google.Chrome

https://flathub.org/apps/details/com.google.Chrome
57 stars 28 forks source link

PWAs are being groups with Chrome browser icons in gnome #205

Open anthr76 opened 1 year ago

anthr76 commented 1 year ago

I've detailed this a bit here https://discussion.fedoraproject.org/t/chrome-pwas-in-gnome-grouping-into-the-same-browser-icon/81714

I've been following the paths between Flextop and Cobalt trying to find a root cause to this issue.

It seems at one point in the past this used to work, but now it doesn't? A fresh PWA installed as com.google.Chrome.flextop.chrome-cifhbcnohmdccbgoicgdjpfamggdegmo-Profile_1.desktop which seems to have the correct prefix necessary for to have a specific icon and window to not be grouped.

cat com.google.Chrome.flextop.chrome-cifhbcnohmdccbgoicgdjpfamggdegmo-Profile_1.desktop | grep -i Start
StartupWMClass=crx_cifhbcnohmdccbgoicgdjpfamggdegm
Danik1601 commented 1 year ago

Have you tried doing it like this?

More specifically this:

--filesystem=~/.local/share/applications:create
--filesystem=~/.local/share/icons:create

Instead of this:

--filesystem=~/.local/share/applications
--filesystem=~/.local/share/icons
chrisawi commented 12 months ago

Have you configured Chrome to use Wayland? If so, this is the same as https://github.com/flathub/org.chromium.Chromium/issues/216.

I also just filed https://github.com/refi64/flextop/issues/9 against the underlying component responsible.

For this specific example, the workaround would be to edit the .desktop file and change StartupWMClass to chrome-cifhbcnohmdccbgoicgdjpfamggdegmo-Profile_1

anthr76 commented 12 months ago

@chrisawi That's correct. Thanks! Should we close this issue and move over to your filed issue