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.