https://bugs.winehq.org/show_bug.cgi?id=53260
--- Comment #6 from orowwith2os@gmail.com --- (In reply to Austin English from comment #5)
(In reply to orowwith2os from comment #4)
(In reply to Austin English from comment #3)
(In reply to orowwith2os from comment #2)
(In reply to Austin English from comment #1)
How are you trying to run the native application? It's not clear what you're asking for here.
What I am asking for is a popup menu that allows you to select a native application to open, say, a .txt file with, similar to how Windows will show a menu to select an app if there's no default app to run/open that file.
Where would this dialog be found/called from?
I'm having a bit of trouble understanding the sentence, but assuming you mean how Wine would show the dialog: XDG desktop portals. Wine can call xdg-desktop-portal on the host and it'll redirect to the DE/WM equivalent. Flatpak utilizes this inside its sandbox to give access to the host system, like for file pickers.
No. I mean, what sequence of actions, under a wine program, would invoke this theoretical dialog. I.e., if I ran 'wine notepad', how would I get to the point of seeing this theoretical dialog?
The reason I ask is that the windows dialogs can't easily be changed to allow running unix binaries. They need to remain compatible with windows. FWIW, there's an existing bug for this that I couldn't find in a quick search.
OTOH, running a unix binary from windows should be supported, at least in some cases, see https://wiki.winehq.org/ FAQ#How_do_I_launch_native_applications_from_a_Windows_application.3F
I don't know how specifically this would work, since I don't have the necessary skills to implement it myself, but if an application inside Wine tries to open a .txt file for example, it should pass that to the host for it to pick what app to open the file inside, is what I'm thinking of.
Maybe something like how wine cmd works can be used to implement this functionality, but I'm not sure. I'm just a gal on the internet who wants to help improve apps through bug reports and feature requests, in the hopes that more new users can switch to Linux with little issue.