https://bugs.kde.org/show_bug.cgi?id=519839
Bug ID: 519839
Summary: Taskmanager re-associates firefox-developer-edition
windows with firefox.desktop after
.config/mimeapps.list refresh, despite distinct
StartupWMClass values
Classification: Plasma
Product: plasmashell
Version First 6.6.4
Reported In:
Platform: EndeavourOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Task Manager and Icons-Only Task Manager widgets
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Created attachment 192074
--> https://bugs.kde.org/attachment.cgi?id=192074&action=edit
inotify trace
SUMMARY
When starting some electron applications all active Firefox Developer Edition
Instances in the Icons-Only Task Manager get regrouped as normal firefox.
The bug is triggered by any process that rewrites mimeapps.list (confirmed:
Vesktop, MongoDB Compass, K8sLens). Electron apps that touch mimeapps cleanly
or not at all (VSCode, Chromium, Microsoft Teams for Linux, Chromium-based
PWAs) do not trigger it
STEPS TO REPRODUCE
1. Install both firefox and firefox-developer-edition with their own distinct
.desktop file and different StartupWMClass entries
2. Pin Firefox Developer Edition to an Icons-Only Task Manager and launch it.
Confirm correct icon and grouping with the pin
3. Launch an electron App (Tested with Vesktop, MongoDB Compass, K8sLens) that
rewrites mimeapps.list
OBSERVED RESULT
All active Instances of Firefox Developer Edition, that had the correct group
and Icon before, get grouped as Stock Firefox with the default Firefox Icon in
the Taskmanager.
EXPECTED RESULT
Nothing should change
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0
Kernel Version: 7.0.3-arch1-2 (64-bit)
Graphics Platform: Wayland
Firefox Developer Edition: 151.0b6-1
Firefox: 150.0.1-1
ADDITIONAL INFORMATION
KWin correctly detects the application: qdbus6 org.kde.KWin /KWin
queryWindowInfo on the affected window returns
- desktopFile: firefox-developer-edition
- resourceClass: firefox-developer-edition
- resourceName: firefox
A window rule with Force "Desktop file name = firefox-developer-edition" does
not prevent the flip
Moving /usr/share/applications/firefox.desktop aside makes the bug disappear
entirely. Restoring it brings it back, even though
firefox-developer-edition.desktop has a distinct
StartupWMClass=firefox-developer-edition that exactly matches the windows
resourceClass
Running inotifywait -m ~/.config/mimeapps.list ~/.cache/ksycoca6_* before
triggering the bug shows .config/mimeapps.list DELETE_SELF
Trying to overwrite the Desktop Entry with a firefox-developer-edition.desktop
file in ~/.local/share/applications did not change anything
--
You are receiving this mail because:
You are watching all bug changes.