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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Application icon duplicates |Firefox from FlatHub and
                   |in panel when launching a   |distro packaging are not
                   |Flatpak application while   |identified by the Task
                   |distribution package        |Manager as being the same
                   |equivalent is also          |application
                   |installed                   |
                 CC|                            |n...@kde.org
             Status|REPORTED                    |CONFIRMED
          Component|Panel                       |Task Manager and Icons-Only
                   |                            |Task Manager
     Ever confirmed|0                           |1

--- Comment #1 from Nate Graham <n...@kde.org> ---
It can only do this when the apps can be identified as identical because they
share an AppStream ID. I suspect that your two installed Firefox apps do not.

If you run `appstreamcli search firefox`, I suspect you will see something like
this at the top:

Identifier: org.mozilla.firefox [desktop-application]
Name: Firefox
Summary: Fast, Private & Safe Web Browser
Bundle: flatpak:app/org.mozilla.firefox/x86_64/stable
Homepage: https://www.mozilla.org/firefox/
Icon: org.mozilla.firefox.png
---
Identifier: firefox.desktop [desktop-application]
Name: Firefox
Summary: Web Browser
Package: firefox
Homepage: https://www.mozilla.org
Icon: firefox.png

[output from my distro, Fedora 36]

That's what I'm talking about: one has the identifier "org.mozilla.firefox" and
the other is "firefox.desktop". Because these are different, Plasma can't
identify them as the same thing. This is a packaging issue that isn't KDE's
fault, but it's not really fixable by either the FlatHub packagers (they
intentionally used a different ID because their policies require a reverse-dns
style) or Firefox (if they change the ID to match FlatHub's divergence from
their upstream preferences, they'll be breaking compatibility with everything
else).

This means the only way we can solve the issue is by adding a local workaround
for the Task Manager. Fortunately a mechanism for this exists.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to