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
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.