The current Ubuntu 20.04 behavior for "Open With Other Application" seems to work differently on the Desktop compared to Files/Nautilus.
Example: I configured VS Code IDE to be the default app for text/plain mime type (~/.config/mimeapps.list):
[Default Applications]
text/plain=code.desktop
Now, a right click -> Open with Other Application on a file foo.bat from the Desktop opens gedit without prompt, Open does not have any effect.
If I choose Show in Files, and do the same sequence, it works as expected - Open will directly open in VS Code, Open With asks for the application.
I don't really understand this behavior. How can I make Ubuntu behave the same way, regardless the environment, where the file is executed?
PS: This issue is reproducible with other applications.