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

            Bug ID: 506836
           Summary: Add a new 'Add to associations' checkbox in Choose
                    Application
    Classification: Plasma
           Product: xdg-desktop-portal-kde
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
Currently the 'Open With' dialog allows setting the primary file association,
through the `Always open <type> files with the chosen app` checkbox. I find
that I frequently don't want to set the primary association, but simply want it
to show up in the Open With options next time (i.e. append an association,
rather than set the primary).

A common use-case for this is opening folders as a project in a particular
application. If I right click a folder and say 'Open With', I may want to add a
particular IDE to the associations without setting it as the default.

I'm aware that this can all be handled through the KDE System Settings. However
it would be a great QoL feature if the user could add it within the current
'Open With' workflow, rather than needing to separately navigate into the
settings.

I attempted to do this myself but ran into build errors when developing, so I'm
just dropping it in as a wishlist item since I don't have enough time to sort
out my dev environment. It's certainly possible, although it may be beneficial
to also add a new utility function to KServices that allows adding an
association (i.e. appending to the list rather than prepending), given that's
where the primary logic exists for setting the preferred association. 

STEPS TO REPRODUCE
1. Right click on file or folder
2. Open folder with > other application

OBSERVED RESULT
Can only set a new application as the primary one.

EXPECTED RESULT
Can add as a new association without replacing the primary one.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.12.34-1-lts (64-bit)
Operating System: EndeavourOS

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

Reply via email to