Bug 500983 - Default Applications doesn't show multiple installs of an app
Summary: Default Applications doesn't show multiple installs of an app
Status: RESOLVED INTENTIONAL
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_filetypes (other bugs)
Version First Reported In: 6.2.5
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-03 02:26 UTC by Justin Zobel
Modified: 2025-03-03 19:31 UTC (History)
2 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 Justin Zobel 2025-03-03 02:26:21 UTC
SUMMARY
Default Applications only shows one entry for each app

STEPS TO REPRODUCE
1. Install Firefox from two sources (OS packages/Flatpak/Snap)
2. Attempt to change the Default Browser

OBSERVED RESULT
Firefox is only listed once and it is not clear which one that is.

EXPECTED RESULT
Firefox is listed twice with packages from non-OS sources clearly marked e.g. Firefox (Flatpak).

SOFTWARE/OS VERSIONS
Operating System: Solus 4.7
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.12-313.current (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 4750U with Radeon Graphics
Memory: 29.1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20Y1001SAU
System Version: ThinkPad P14s Gen 1

Additional Notes:
Flatpak (and likely snap) can have multiple versions installed so this might be even more complicated. Getting the issue fo where the app comes from would be good to fix first, then add extra info about the apps e.g. version or branch for Flatpak. Flatpak makes it even more fun in that there can be Firefox installed in user-space and system-wide. :)
Comment 1 Bug Janitor Service 2025-03-03 02:33:41 UTC
Thank you for the bug report!

However Plasma 6.2.5 is no longer eligible for support or maintenance from KDE; supported versions are 5.27. (LTS), and 6.3 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 6.2.5, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.
Comment 2 Nicolas Fella 2025-03-03 19:31:20 UTC
File associations are based on the desktop file name. That means there is no way to differentiate between two installed apps if they have the same desktop file name and which installation gets used when opening something is basically undefined behavior.

This is not just a UI thing, it's a fundamental property of the MIME Associations Spec (https://specifications.freedesktop.org/mime-apps-spec/latest/index.html)