https://bugs.kde.org/show_bug.cgi?id=507322

TraceyC <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|wishlist                    |normal

--- Comment #4 from TraceyC <[email protected]> ---
Another report has come in about this with more detail which confirms this is a
bug. It has a trace of inotify which will be useful.

Copying from the other report:

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

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.

Reply via email to