https://bugs.winehq.org/show_bug.cgi?id=54999
Bug ID: 54999 Summary: Process Explorer from Sysinternals shows a blank window Product: Wine Version: 8.9 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
This is a regression between wine 8.0 and 8.1. You MUST make clean WINEPREFIX for this! When the WINEPREFIX was created with 8.0 it also works with 8.1 and later. Only when the WINEPREFIX is created with 8.1 and later the problem occurs.
Tested with procexp64 from https://web.archive.org/web/20230406081546/http://download.sysinternals.com/...
Tested with both the 64bit and 32bit version, same behavior.
https://bugs.winehq.org/show_bug.cgi?id=54999
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20230406081546/http://down | |load.sysinternals.com/Files | |/ProcessExplorer.zip Keywords| |download, regression
https://bugs.winehq.org/show_bug.cgi?id=54999
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- The 32bit version seems to only start a 64bit version... It breaks in a 32bit WINEPREFIX. So let's make this about the 64bit version.
https://bugs.winehq.org/show_bug.cgi?id=54999
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Bisected to
commit 69154f0329aec4fb64886a0689da198b5323dcde Author: Hans Leidekker hans@codeweavers.com Date: Mon Jan 23 13:15:07 2023 +0100
ntdll: Default to Windows 10.
Probably not very useful though...
https://bugs.winehq.org/show_bug.cgi?id=54999
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #3 from Bernhard Übelacker bernhardu@mailbox.org --- Compared a relay trace starting from the first CreateWindowEx showed with windows version set to 10 a difference starting with
0124:0128:Call KERNEL32.LoadLibraryW(140125998 L"uxtheme.dll") ret=140088654 0124:0128:Ret KERNEL32.LoadLibraryW() retval=26c230000 ret=140088654 0124:0128:Call KERNEL32.GetProcAddress(26c230000,00000084) ret=140088662
After a internet search it looks like function 0x84/132 is ShouldAppsUseDarkMode.
https://github.com/mintty/mintty/blob/1674fa9019f53b34691f8a8cdeec26c5b1325d...
With following modification procexp64 starts up and shows the process tree without icons.
diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c + +BOOL WINAPI ShouldAppsUseDarkMode(void) +{ + FIXME("stub\n"); + return FALSE; +} diff --git a/dlls/uxtheme/uxtheme.spec b/dlls/uxtheme/uxtheme.spec +132 stdcall ShouldAppsUseDarkMode()
https://bugs.winehq.org/show_bug.cgi?id=54999
Vitaly Lipatov lav@etersoft.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lav@etersoft.ru
https://bugs.winehq.org/show_bug.cgi?id=54999
--- Comment #4 from Bernhard Übelacker bernhardu@mailbox.org --- An implementation of ShouldAppsUseDarkMode got committed in b5f4a6a4db. With wine-8.21 and this commit reverted the empty window is shown. With regular wine-8.21 Process Explorer shows the process tree (without icons).
Therefore this should be fixed by: https://gitlab.winehq.org/wine/wine/-/commit/b5f4a6a4dbb6f4d7b9f182d0d551393...
https://bugs.winehq.org/show_bug.cgi?id=54999
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |b5f4a6a4dbb6f4d7b9f182d0d55 | |1393558458712 Status|NEW |RESOLVED
--- Comment #5 from Hans Leidekker hans@meelstraat.net --- Fixed by b5f4a6a4dbb6f4d7b9f182d0d551393558458712.
https://bugs.winehq.org/show_bug.cgi?id=54999
--- Comment #6 from Bernhard Übelacker bernhardu@mailbox.org --- Just a warning for anyone now trying to run Process Explorer. After a few seconds bug 55000 gets triggered, which kills wineserver.
https://bugs.winehq.org/show_bug.cgi?id=54999
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=54999
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc1.