[Bug 46213] Sniper Elite 4 launcher window doesn't display properly

WineHQ Bugzilla wine-bugs at winehq.org
Fri Apr 23 04:26:11 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=46213

Rémi Bernon <rbernon at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rbernon at codeweavers.com

--- Comment #5 from Rémi Bernon <rbernon at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list