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

            Bug ID: 528774
           Summary: mimeapps.list `[Removed Associations]` are ignored
                    when `mimeapps.list` is a symlink
    Classification: Frameworks and Libraries
           Product: frameworks-kservice
      Version First unspecified
       Reported In:
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION

When mimeapps.list is a symlink, entries under [Removed Associations] are
ignored. For example, this causes applications that should have been removed
from the "Open With" menu in Dolphin or the File Picker portal to remain
available for the corresponding mimetype.

STEPS TO REPRODUCE
1. Create a mimeapps list file containing a [Removed Associations] entry for
some mimetype `M` supported by some app `A`, e.g.
`image/png=org.kde.gwenview.desktop`.
2. Make a symlink to that file at $XDG_CONFIG_HOME/mimeapps.list
3. Open a file in Dolphin and inspect the "Open With" menu.

OBSERVED RESULT
The removed application still appears in the "Open With" menu, as if the
[Removed Associations] entry was ignored.

EXPECTED RESULT
Entries under [Removed Associations] should be removed regardless of whether
mimeapps.list is a regular file or a symlink.


SOFTWARE/OS VERSIONS
Operating System: NixOS 26.11 
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0

ADDITIONAL INFORMATION
This issue does not occur for [Added Associations] or [Default Applications]

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

Reply via email to