Plasma 5.9.2 on OpenSUSE Tumbleweed, dolphin-16.12.2-1.1 STEPS TO REPRODUCE: 1. Right-click on a file (in a Dolphin window or on the desktop) 2. Choose Open With > Other... 3. In the "Choose Application" window that appears, type the name of an application in the search field 4. Hit the OK button Now the text string you typed in the search bar appears as a new entry in the Open With sub-menu. You can do this as many times as you want and it will happen again. Each entry works, but the menu becomes polluted with extra entries.
It should remember the application you chose only if you check the "Remember application association ..." checkbox. Did you check it?
Yes. But the point is, if I type "kate" into the search box and have it remember that, there should not be a new menu entry created; the menu already has a Kate entry in it.
I'm not sure I'm following you. Are you saying that you have duplicated entries? (e.g. two kate entries?)
Created attachment 104460 [details] Duplicate entries in "Open With" sub-menu Precisely. I've attached a screenshot that illustrates the problem.
Hmm you are right, I can reproduce now. This handled by kio, moving there.
Not *exactly* a duplicate, but this will be fixed by https://bugs.kde.org/show_bug.cgi?id=359233 Apparently, these duplicate entries are all commands, not app entries. Using that text box is entering commands, and `kate` is the command to launch Kate, so I didn't notice what was going on. The patches in https://bugs.kde.org/show_bug.cgi?id=359233 implement a vastly better user experience. *** This bug has been marked as a duplicate of bug 359233 ***