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

--- Comment #2 from Ben V <[email protected]> ---
(In reply to Nate Graham from comment #1)
> Are you seeing that apps capable of handling opening folders aren't
> appearing in the dialog? They should. And if they do, it's a matter of
> clicking on them, right?

Not absolutely sure what you're asking, so I'll try to elaborate with an
example.

1. I have VSCode (arbitrary choice) installed on my system, and commonly wish
to open up project folders in it for development.
2. I then right click > open with, and find that VSCode doesn't appear in the
`Open With` list since the association doesn't yet exist.
3. I choose 'Other Application'. The 'Choose Application' dialog that pops up
shows me all the existing associations, as well as an option to search for
other applications.
4. Since VSCode isn't listed yet, I search for it and select it.
5. My project opens in VSCode.

So far this is all expected behaviour and an intuitive way of opening a folder
in my 'new' choice of software. Now we proceed into the future, where I want to
open it again.

5. Right click > open with... and vscode doesn't appear in the list? It seems
selecting it previously did not add that association as I had hoped, so I need
to go through the same process.

There are two primary ways to add this association (that I am aware of):

1. Through system settings
This is not ideal in the given situation, since it's not directly part of the
process the user is going through. Unnecessary extra steps are required and,
for those not familiar with all the system settings have to offer, may be quite
an issue. (I can't imagine my grandmother naturally looking up the technical
jargon 'File Associations' when the 'Open With' dialog failed to add an app to
the associations).

2. In the Choose Application dialog, check the box "Always open <Folder> files
with the chosen app". 
This successfully adds the association, but also sets my application as the
*primary* application. If I choose to open a folder on my desktop, it will now
open directly in VSCode instead of Dolphin.

My proposed solution is to replace the 'Always open <Folder>....' checkbox with
the radio buttons:
-  "Associate <Folder> files with the chosen app". (add to the bottom of the
associations list, rather than setting as primary)
- "Always open <Folder> files with the chosen app". (the behaviour of the
existing checkbox, unchanged)
- "Do nothing" (default, presumably could be worded better).

If the user chooses the first option, the application will be added to the file
associations. This way it will appear in the 'Open With' context menu in
future.

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

Reply via email to