https://bugs.winehq.org/show_bug.cgi?id=46213
Bug ID: 46213 Summary: Sniper Elite 4 launcher window doesn't display properly Product: Wine Version: 3.21 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Created attachment 62893 --> https://bugs.winehq.org/attachment.cgi?id=62893 screenshot
Background and styles are missing
https://bugs.winehq.org/show_bug.cgi?id=46213
--- Comment #1 from Andrey Gusev andrey.goosev@gmail.com --- Created attachment 62894 --> https://bugs.winehq.org/attachment.cgi?id=62894 +ieframe,+jscript,+mshtml
wine-3.21-114-g1582ae6b04
https://bugs.winehq.org/show_bug.cgi?id=46213
Anthony Jagers noonetinone@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |noonetinone@gmail.com
--- Comment #2 from Anthony Jagers noonetinone@gmail.com --- I get it also, but the game just does nothing after that. I remember it working a long time ago. How does the game work for you?
https://bugs.winehq.org/show_bug.cgi?id=46213
--- Comment #3 from Andrey Gusev andrey.goosev@gmail.com --- The game needs staged patchset from bug 29168.
https://bugs.winehq.org/show_bug.cgi?id=46213
--- Comment #4 from Andrey Gusev andrey.goosev@gmail.com --- Still reproducible in wine-6.5
https://bugs.winehq.org/show_bug.cgi?id=46213
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
--- Comment #5 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 69906 --> https://bugs.winehq.org/attachment.cgi?id=69906 Patch fixing the issue
The issue here is, first that we consider all resource:// URIs to be special to gecko, although the launchers use such URIs for their internal custom protocol handler.
Then, there's another issue as the handler calls ReportResult within LockRequest, which end up being called /before/ we do the OnDataAvailable callback, causing wine-gecko to get confused when it receives data notification after the request have been closed.
The attached patches should fix both issues.
Note however that the launchers may then face additional problems with layered window child rendering (which should be tracked elsewhere) and may be even less usable than before. This is the case with those which have transparency, maybe not for Sniper Elite 4 which I haven't tried.
https://bugs.winehq.org/show_bug.cgi?id=46213
--- Comment #6 from Andrey Gusev andrey.goosev@gmail.com --- Launcher displays correctly now with the patch.
https://bugs.winehq.org/show_bug.cgi?id=46213
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |urlmon
https://bugs.winehq.org/show_bug.cgi?id=46213
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |7c037c82c8c56539dd03e00628e | |27e4525b66483
--- Comment #7 from Andrey Gusev andrey.goosev@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/7c037c82c8c56539dd03e00628e27e...
https://bugs.winehq.org/show_bug.cgi?id=46213
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc6.