On Tue, Oct 12, 2021 at 10:58 AM Alex Henrie alexhenrie24@gmail.com wrote:
On Mon, Oct 11, 2021 at 12:19 PM Alexandre Julliard julliard@winehq.org wrote:
Alex Henrie alexhenrie24@gmail.com writes:
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41275 Signed-off-by: Alex Henrie alexhenrie24@gmail.com
An old version of this patch has been in Wine Staging for over a year.
dlls/mshtml/mshtml.inf | 6 +++ loader/wine.inf.in | 10 +++++ programs/winemenubuilder/winemenubuilder.c | 50 +++++++++++++++++++--- 3 files changed, 61 insertions(+), 5 deletions(-)
That's fairly ugly, especially requiring all modules to create explicit settings under HKCU, and the fact that the commands have to match exactly. I'd suggest to try to find a better approach.
Open question for all Wine developers: What do you think is the right approach to preventing unwanted associations?
Another solution that occurs to me is to set the InitialPreference property in all .desktop files generated by Wine so that all Wine applications have lower default priority than native applications. InitialPreference is supported by KDE and LXQt and there is an open bug report about supporting it in GNOME.[1] Would that be considered acceptable?
-Alex