Bug 497548 - PWA windows are grouped with web browser windows
Summary: PWA windows are grouped with web browser windows
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 6.2.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression, wayland-only
Depends on:
Blocks:
 
Reported: 2024-12-16 10:35 UTC by David
Modified: 2025-06-12 03:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2024-12-16 10:35:20 UTC
SUMMARY
After updating the KDE 6.2.4, windows from PWAs (progressive web aps) are grouped together with windows from the browser from which they are installed.

STEPS TO REPRODUCE
1. Configure the panel to use the icons-only task manager.
2. Install Vivaldi.
3. Install a PWA through Vivaldi, such as MS teams: https://www.microsoft.com/en-us/microsoft-teams/download-app
4. Add both Vivaldi and the PWA to the pinned entries in the task manager.
5. Click both icons.

OBSERVED RESULT
They merge into one, under the  Vivaldi icon, even though they are separate icons before launching.

EXPECTED RESULT
Should have two separate icons for Vivaldi and for MS  teams installed as a PWA. Reverting to plasma 5.27.11 in the same system makes them behave as expected.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-12-16 17:55:42 UTC
Does it happen in Chrome or Chromium too?

Can you test when all of these browsers are in native Wayland mode as well as in XWayland mode?
Comment 2 David 2024-12-16 18:16:09 UTC
(In reply to Nate Graham from comment #1)
> Does it happen in Chrome or Chromium too?
> 
> Can you test when all of these browsers are in native Wayland mode as well
> as in XWayland mode?

Does "native Wayland" and "XWayland" mean "open it in a wayland session, then in an x11 session", or does it involve some setting or launching chromium with some specific flag?
Comment 3 Nate Graham 2024-12-17 16:33:15 UTC
Yeah, you'll have to launch the app with a special flag. Every app does it differently. For Chrome/Chromium, you add "--ozone-platform=wayland" to force it into Wayland mode, and without that, it's in XWayland mode. See https://wiki.archlinux.org/title/Chromium

Per https://wiki.archlinux.org/title/Vivaldi#Native_Wayland_support Vivaldi seems to default to Wayland, so you can force it into XWayland mode with the "auto" value for ozone-platform.
Comment 4 Bug Janitor Service 2025-01-01 03:47:20 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 5 David 2025-01-07 16:20:09 UTC
From some further testing:
- The problem is not present when running X11 sessions (but didn't manage to try on the latest 6.2.4 version).
- In earlier KDE plasma versions (6.0), if I launch the PWA first, the browser icon then becomes the PWA's, so it doesn't let me launch the browser from the task manager. I think this didn't happen in 6.2 but am not 100% sure.
- If I launch vivaldi though the command line with option '--ozone-platform=wayland', and then launch the PWA, then the icons stay separate instead of merging, regardless of how the PWA is launched.

I BTW found these PWAs that can be easily installed without any registration:
https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/demo-pwas

To install one of them with Vivaldi, one can open this link:
https://microsoftedge.github.io/Demos/pwamp/

Then right click the tab where it opens, and select "Install PWAmp music player".
Comment 6 Nate Graham 2025-05-08 16:53:19 UTC
Does it still happen in Plasma 6.3.5 or later  for you?
Comment 7 John Kizer 2025-05-13 18:23:48 UTC
Updating the status here, pending an update from the reporter - thanks!
Comment 8 Bug Janitor Service 2025-05-28 03:47:25 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2025-06-12 03:48:08 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.