mate-desktop / caja

Caja, the file manager for the MATE desktop
https://mate-desktop.org/
Other
265 stars 143 forks source link

The "Open with" folder menu always doesn't remember additions #1663

Open m4vnel opened 1 year ago

m4vnel commented 1 year ago

Expected behaviour

When clicked the "other application" menu item, Caja displays the available apps, user choose one and if the option "remember this application" is checked, this app should show next time in the menu "Open with"

Actual behaviour

The "Open with" menu always show the same items. Furthermore, in the selection list of new apps the option "delete" always is inactive. I've tried with several apps to be remembered. Behaviour is always the same

Steps to reproduce the behaviour

1) Select one folder 2) display context menu "Open with" 3) select "Other application" 4) select app from the list and check the "remember app" option 5) click "Open" 6) Select any folder again, display "Open with" menu. No changes

MATE general version

1.26.0

Package version

1.26.0-1

Linux Distribution

Mint 21 Vanessa

Link to bugreport of your Distribution (requirement)

thesquash commented 1 year ago

Well, I doubt that's intended behavior, but still, how often does one need to open a folder in a different application? I guess I could see opening a folder in, say, the VLC media player, but I can't see having the option in the menu to open any subsequent folders using VLC.

I guess maybe the "remember this application" checkbox should be removed or grayed out when the user opens a folder with a different application, but I can't see actually adding any applications to the menu for mere folders, myself.

Actually, I suspect the reason why recently used applications don't show up when you right-click a folder, is because the menu already contains three top-level "Open" entries: "Open", "Open in New Tab", and "Open in New Window". I've never seen Caja display more than three applications in the right-click menu, even when I've right-clicked on ordinary files. That could be the problem.

Either way, I'm not sure how to satisfactorily handle this situation. Ideas?

m4vnel commented 1 year ago

I'm not discussing the usefulness of this feature (although it's very useful for me), but pointing that is not working properly. I've used Caja (and Mate) for nearly a decade and until now the behavior was the expected, but not now, so I consider it's a bug.

jjensen654 commented 1 year ago

I am having a similar problem (MATE 1.26.0, Caja 1.26.1-1, Arch). I keep a lot of TV recordings in MPEG-2 .ts format on my SMB network shares, and the file association for .ts does not stick, no matter how many times I go through the "Open With" box. Strangely, .ts files stores locally open in VLC just fine, with no further intervention needed.

It appears that this has been going on since September 6, when I upgraded Caja from 1.26.0-1 to the current version.

mynameisflorian commented 1 year ago

I would like to "third" this issue. My intended use case is to open the folder in a terminal emulator, as an alternative to installing an extension. Interestingly, it already shows another file manager I have installed as well as ranger (a cli file manager) when I right click on directories -- which tells me it's not an issue with the design of the UI (ie there's no where it's supposed to go), and is indeed a bug.