budgie-desktop icon indicating copy to clipboard operation
budgie-desktop copied to clipboard

Windows are grouped incorrectly using Chromium PWAs

Open joeldeteves opened this issue 2 years ago • 9 comments

Moving this issue here as I accidentally created it under the old Solus repo:

Description

When using a PWA (Progressive Web App) created in Chrome, if I attempt to minimize that instance of the PWA it also minimizes all other Chrome windows.

The workaround I have found is to turn off the Window Grouping feature in the Icon Task List applet, but this is not ideal since it goes back to the old "Windows-2000esque" behaviour of having a plethora of terminal windows splattered across taskbar.

Since PWAs are becoming more mainstream as an alternative for Linux support (for example many of us are forced to live in the Microsoft world for work-related reasons), it would make sense if PWAs are handled as "apps" rather than being treated as multiple instances of Chrome.

  • Gnome 42 handles this the right way no matter which browser the PWA is created in
  • Gnome Web (Epiphany) also handles this the right way when used with Budgie. So it seems to be some odd behaviour between Budgie and Chrome specifically

Budgie Version

budgie-desktop 10.5.3

Operating System

Ultramarine Linux 36 Flagship Edition (Fedora 36 base) Kernel Version: 5.19.9-200.fc36.x86_64

Steps to reproduce

  1. Create a couple of different PWAs using Chrome / Chromium's "Create shortcut" feature, e.g. GitHub and Notion
  2. Open multiple PWA instances
  3. All PWAs are grouped under the icon of the first PWA that gets launched

Expected behaviour

PWAs should be treated as individual Applications

Potential solutions

It would be nice if Budgie had an option to exclude certain applications from Window Grouping - this would be the most flexible solution IMO, as then the Budgie team don't have to make exceptions for every possible app that can break using this behaviour (another badly-behaving app is Steam, which creates multiple Window instances and doesn't remove them from the Budgie taskbar when done).

joeldeteves avatar Sep 30 '22 18:09 joeldeteves

Could you re-test under a newer Budgie version, ideally v10.6.4? We've made a lot of changes to the Icon Task List in the v10.6 series, including numerous grouping fixes.

serebit avatar Sep 30 '22 19:09 serebit

Looks like I grabbed the wrong version - I was using neofetch but it doesn't report the correctly installed version.

The version I'm currently on is 10.6.3-2.

Will try 10.6.4 when it gets backported and report back.

joeldeteves avatar Sep 30 '22 19:09 joeldeteves

There were no changes in v10.6.4 related to the Icon Task List, so v10.6.3 is good enough. I'll see if I can reproduce this later, though I'm going to need to figure out... how to create a Chrome PWA.

serebit avatar Sep 30 '22 19:09 serebit

There were no changes in v10.6.4 related to the Icon Task List, so v10.6.3 is good enough. I'll see if I can reproduce this later, though I'm going to need to figure out... how to create a Chrome PWA.

Thanks! The easiest way to create a PWA in Chrome / Chromium is to browse to any web app (e.g Outlook Web, Discord, Notion, etc) and then click the 3 dots in the top right corner -> More Tools -> Create Shortcut... -> make sure to check the "Open as Window" option as this is what actually turns it into a PWA.

It should work for almost any app that supports an online version.

joeldeteves avatar Sep 30 '22 20:09 joeldeteves

Well I'm definitely getting some odd behavior with Flatpak Ungoogled Chromium PWAs installed, but it's not identical to what you're reporting - opening a PWA completely desyncs the icon task list with regards to Chromium windows, and the Arch Chromium package does the same thing. Minimization works as expected.

serebit avatar Oct 01 '22 23:10 serebit

Well I'm definitely getting some odd behavior with Flatpak Ungoogled Chromium PWAs installed, but it's not identical to what you're reporting - opening a PWA completely desyncs the icon task list with regards to Chromium windows, and the Arch Chromium package does the same thing. Minimization works as expected.

@serebit what happens when you use the chromium-freeworld package? Version 105.0.5195.125 (Official Build) (64-bit) on my end.

joeldeteves avatar Oct 05 '22 17:10 joeldeteves

Reviving this as "chromium" PWAs are not correctly handled by Icon Task List as of 10.8.2 via Ultramarine Flagship and Fedora Budgie. Example using Ultramarine, Vivaldi and Microsoft Teams PWA - Teams is not displayed in any form or fashion in ITL (including right-click on Vivaldi icon): Snapshot_2023-12-03_10-17-14

tmknight avatar Dec 03 '23 15:12 tmknight

Reviewing other issues, I wonder if this possibly is tied to #469

tmknight avatar Dec 04 '23 20:12 tmknight

It isn't, that hasn't landed yet.

JoshStrobl avatar Dec 05 '23 11:12 JoshStrobl