https://bugs.winehq.org/show_bug.cgi?id=50064
Bug ID: 50064 Summary: A transparent Agent.exe window is shown when Battle.Net launches Product: Wine-staging Version: 5.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sashok.olen@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Regression SHA1: 3cea972271b4529e332c75b06f902c80e7de1798 Distribution: ArchLinux
Since 3cea972271b4529e332c75b06f902c80e7de1798 (Rebase against f4a66ad257df4605e73dfea792eec55a70a04e84) and with all later staging commits, including 5.20 release, when you launch Battle.Net (a client for Blizzard games), a transparent Agent.exe is shown. Normally, there shouldn't be any window shown for Agent.exe at all. With staging commit b49e8743866224df57eb1032b6c63c999b28c808 and older, the issue cannot be reproduced. Mainline wine (5.20) doesn't have this issue, and 8d04884c1f6aa6b21435130e42978fdeac06df55 (Updated winex11.drv-Query_server_position patchset …), which was supposed to fix this, had no effect. More than that, using a build with that patchset disabled did not get rid of the issue.
https://bugs.winehq.org/show_bug.cgi?id=50064
--- Comment #1 from Alexandr Oleynikov sashok.olen@gmail.com --- I've done some bisecting and found that this commit from upstream caused the issue: 859b526c81a2af841b5b7b28d06f3d782bccdab5 is the first bad commit commit 859b526c81a2af841b5b7b28d06f3d782bccdab5 Author: Jacek Caban jacek@codeweavers.com Date: Mon Oct 12 18:27:18 2020 +0200
kernelbase: Use conhost in AllocConsole.
Reverting it against Staging 5.20 fixes the issue, though unfortunately it also breaks Agent.exe. It's possible it's not the true culprit, as there were quite a few conhost commits before this related to console apps and setting window title for them.
https://bugs.winehq.org/show_bug.cgi?id=50064
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |jacek@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=50064
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-staging |Wine Component|-unknown |-unknown
https://bugs.winehq.org/show_bug.cgi?id=50064
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|3cea972271b4529e332c75b06f9 | |02c80e7de1798 |
https://bugs.winehq.org/show_bug.cgi?id=50064
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |3cea972271b4529e332c75b06f9 | |02c80e7de1798 Product|Wine |Wine-staging Component|-unknown |-unknown
https://bugs.winehq.org/show_bug.cgi?id=50064
--- Comment #2 from Alexandr Oleynikov sashok.olen@gmail.com --- The patchset that is causing the issue is winex11-_NET_ACTIVE_WINDOW. If I disable it (along with winex11-WM_WINDOWPOSCHANGING since it depends on the former) the transparent window isn't present.
https://bugs.winehq.org/show_bug.cgi?id=50064
Maciej Stanczew maciej.stanczew+b@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maciej.stanczew+b@gmail.com
--- Comment #3 from Maciej Stanczew maciej.stanczew+b@gmail.com --- Do you mean the window is shown all the time? Since 859b526c81a2af841b5b7b28d06f3d782bccdab5 I'm seeing a console window appear when Battle.net App is launched, but it disappears very quickly.
For me the behavior is the same both on plain Wine and on Staging (I checked wine-5.19-40-g859b526c81a, wine-5.20, and wine-5.21, + the same versions for Staging).
Might be connected to bug 50114 and bug 50102.
https://bugs.winehq.org/show_bug.cgi?id=50064
--- Comment #4 from Alexandr Oleynikov sashok.olen@gmail.com --- It used to be shown all the time, but yes, right now it just shows up for a sec as a console app and disappears.
https://bugs.winehq.org/show_bug.cgi?id=50064
--- Comment #5 from Alexandr Oleynikov sashok.olen@gmail.com --- The original issue is back in release 5.22, exclusive to Staging.
https://bugs.winehq.org/show_bug.cgi?id=50064
mboquien@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mboquien@free.fr
https://bugs.winehq.org/show_bug.cgi?id=50064
kinzigeric@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kinzigeric@gmail.com
--- Comment #6 from kinzigeric@gmail.com --- Trying to install Oblivion mod to Wyre Bash but got this instead
balt.py 1314 OpenSelected: Failed to open E:\steamapps\common\Oblivion Mods\Bash Installers\Unofficial Shivering Isles Patch-10739-1-6-0-1635878152.7z Traceback (most recent call last): File "bash\balt.py", line 1312, in OpenSelected File "bash\bolt.py", line 1181, in start OSError: [WinError 193] Bad EXE format for %1: 'E:\steamapps\common\Oblivion Mods\Bash Installers\Unofficial Shivering Isles Patch-10739-1-6-0-1635878152.7z'
https://bugs.winehq.org/show_bug.cgi?id=50064
--- Comment #7 from kinzigeric@gmail.com --- (In reply to kinzigeric from comment #6)
Trying to install Oblivion mod to Wyre Bash but got this instead
balt.py 1314 OpenSelected: Failed to open E:\steamapps\common\Oblivion Mods\Bash Installers\Unofficial Shivering Isles Patch-10739-1-6-0-1635878152.7z Traceback (most recent call last): File "bash\balt.py", line 1312, in OpenSelected File "bash\bolt.py", line 1181, in start OSError: [WinError 193] Bad EXE format for %1: 'E:\steamapps\common\Oblivion Mods\Bash Installers\Unofficial Shivering Isles Patch-10739-1-6-0-1635878152.7z'
And its not just this mod, it's any mod I try to install, and yes its a wine bug because I got the message.
bash\env\windows.py:136: UserWarning: Exception in ifileoperation: COM interface method not implemented. This is likely a WINE bug, see: https://bugs.winehq.org/show_bug.cgi?id=50064.. If you are running on WINE this is expected, otherwise please report this issue. Falling back to standard library implementation.
https://bugs.winehq.org/show_bug.cgi?id=50064
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch