https://bugs.winehq.org/show_bug.cgi?id=51729
Bug ID: 51729 Summary: Unable to find an entry point named 'UiaDisconnectProvider' in DLL 'UIAutomationCore.dll' Product: Wine Version: 6.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: uiautomationcore Assignee: wine-bugs@winehq.org Reporter: pashtet92@bk.ru Distribution: ---
Created attachment 70615 --> https://bugs.winehq.org/attachment.cgi?id=70615 wine logs
Hello. I tried to use a .NET 5 application written using WinForms: https://github.com/Greavesy1899/MafiaToolkit
After I close the intro window, this exception happens:
System.EntryPointNotFoundException: Unable to find an entry point named 'UiaDisconnectProvider' in DLL 'UIAutomationCore.dll'. at Interop.UiaCore.UiaDisconnectProvider(IRawElementProviderSimple provider) at System.Windows.Forms.Control.ReleaseUiaProvider(IntPtr handle) at System.Windows.Forms.Control.WmDestroy(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
Apparently, it tries to unregister a UI Automation provider on window destruction.
MSDN docs: https://docs.microsoft.com/ru-ru/windows/win32/api/uiautomationcoreapi/nf-ui...
Since current uia_core implementation is largely stub, I think it might benefit from one more stub ;)
https://bugs.winehq.org/show_bug.cgi?id=51729
Pavel Vorozheykin pashtet92@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/Greavesy | |1899/MafiaToolkit
https://bugs.winehq.org/show_bug.cgi?id=51729
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |alexhenrie24@gmail.com
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- I can confirm. Steps to reproduce:
1. Open winecfg and set the Windows version to 10.
2. Install Steam for Windows and log in.
3. Run `wine 'C:\Program Files (x86)\Steam\Steam.exe' steam://install/600160` to install the Mafia III demo.
4. Install the .NET 5.0 Desktop Runtime from https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-5.0.9-windows-x64-installer.
5. Run `cd "$HOME/.wine/drive_c/Program Files (x86)/Steam/steamapps/common/Mafia III Demo" && cp mafia3.exe mafia3definitiveedition.exe`
6. Run `wine MafiaToolkit.exe`.
7. Under "Mafia III: Definitive Edition", input the path "C:\Program Files (x86)\Steam\steamapps\common\Mafia III Demo" and click Start Toolkit.
I can't reproduce the problem with the Windows version set to anything less than 10.
https://bugs.winehq.org/show_bug.cgi?id=51729
--- Comment #2 from Alex Henrie alexhenrie24@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/eac5cef24038f0194e58ed0004...
https://bugs.winehq.org/show_bug.cgi?id=51729
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |eac5cef24038f0194e58ed0004c | |4a162b4f3e9a4 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Alex Henrie alexhenrie24@gmail.com --- Whoops, forgot to mark this as resolved.
https://bugs.winehq.org/show_bug.cgi?id=51729
--- Comment #4 from Pavel Vorozheykin pashtet92@bk.ru --- Can confirm that this bug is fixed. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=51729
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.18.