Bug 511636

Summary: Installing flatpaks makes them automatically the default app for things that should still be opened in other apps
Product: [Plasma] xdg-desktop-portal-kde Reporter: jonas.harer <jonas.harer>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: NEEDSINFO WAITINGFORINFO    
Severity: normal CC: aleixpol, sitter
Priority: NOR    
Version First Reported In: 6.5.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jonas.harer 2025-11-04 17:55:15 UTC
SUMMARY
Installing flatpaks makes them automatically the default app for things that should still be opened in other apps

STEPS TO REPRODUCE
1. Install a traditional (not immutable) distro (e.g. Arch)
2. Make sure .py files are opened in Kate (installed using the package manager)
3. Install another editor using flatpak (e.g. org.gnome.Builder)
4. Open the same .py file from Dolphin

OBSERVED RESULT
It opens in GNOME Builder

EXPECTED RESULT
It should still open in Kate


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Pentium® CPU  N3530  @ 2.16GHz
Memory: 4 GiB of RAM (3.7 GiB usable)
Graphics Processor: Intel® HD Graphics


ADDITIONAL INFORMATION
I think it is because flatpaks having a higher priority
Comment 1 Harald Sitter 2026-01-16 14:34:12 UTC
That is how this is meant to work?

If you don't have kate manually configured as editor for py files then any newly installed application will take over the file association. Only when you explicitly configure a default will that stop.