[Bug]: Linux KDE PWA: window icon stays Floorp even though app_id and desktop file match
Pre-Submission Checklist
- I have checked the existing/closed issues to ensure this issue has not already been reported.
- I am using the latest supported version of the browser.
- I have tried disabling all browser extensions/add-ons to rule out interference from these.
- I have tried clearing the browser cache and cookies.
- I have checked with a new profile and the issue still occurs.
- I have provided detailed step-by-step instructions on how to reproduce the issue.
- I have included relevant screenshots or console outputs.
- I have checked that this problem is not occurring in the latest version of Firefox.
- This issue is specific to this browser and does not occur in other browsers.
Bug Summary
Environment:
- Floorp 12.18.1 (pacman), CachyOS
- KDE Plasma 6.7.5, KWin Wayland
The PWA launcher is generated correctly by Floorp (--name floorp-<id>, StartupWMClass=floorp-<id>, icon PNG exists). KWin correctly associates the running window with that launcher:
desktopFile: floorp-7a2042db-f991-4fb4-8d7c-f22d8b34eaf2
resourceClass: floorp-7a2042db-f991-4fb4-8d7c-f22d8b34eaf2
resourceName: floorp(from qdbus6 org.kde.KWin /KWin org.kde.KWin.queryWindowInfo)
Despite this, the taskbar and window icon show the Floorp icon instead of the PWA icon. Since the desktop-file association is correct, it looks like Floorp sets its own window icon on the window, which overrides the icon from the desktop file. A KWin rule forcing the desktop file name makes no difference.
Expected: the PWA window uses the icon from its own desktop file / PWA manifest.
Related: #1102
Reproduction Steps
- On KDE Plasma (Wayland), open a website in Floorp (e.g. https://www.vtmgo.be) and install it as a web app.
- Launch the web app from the application menu.
- Look at the taskbar icon and the window icon.
- Optional check: run
qdbus6 org.kde.KWin /KWin org.kde.KWin.queryWindowInfoand click the web app window.
Expected Behavior
The web app window shows its own icon (from its desktop file / manifest) in the taskbar and is not grouped under Floorp, since the app_id and desktop file association are correct.
Actual Behavior
The taskbar and window icon show the Floorp icon instead of the web app icon.
The generated launcher is correct (--name floorp-<id>, StartupWMClass=floorp-<id>, icon PNG exists), and KWin correctly associates the window with it:
desktopFile: floorp-7a2042db-f991-4fb4-8d7c-f22d8b34eaf2
resourceClass: floorp-7a2042db-f991-4fb4-8d7c-f22d8b34eaf2
resourceName: floorpBecause the desktop-file association is correct, Floorp seems to set its own window icon, which overrides the icon from the desktop file. A KWin window rule forcing the desktop file name makes no difference.
Environment: Floorp 12.18.1 (pacman), CachyOS, KDE Plasma 6.7.5, KWin Wayland. Related: #1102
Screenshots
Browser Version
Version [email protected]
Operating System
Kernel: Linux 7.2.7-1-cachyos - Desktop Environment: KDE Plasma 6.7.5
Additional Context
No response
Source: Floorp-Projects/Floorp