[Bug 11406] New: WebBrowser.Stop Stub causes crash

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 30 16:00:58 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=11406

           Summary: WebBrowser.Stop Stub causes crash
           Product: Wine
           Version: 0.9.54.
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: shdocvw
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: fossi at iname.com
                CC: fossi at iname.com


Currently WebBrowser.Stop is implemented as a stub, returning E_NOTIMPL.
At least with Titan Poker this causes the application to crash whenever one of
it's windows is closed.

I figured that stopping the 'webbrowser' from loading might not actually be
crucial to the operation of this (or most other) programs, so i just tried
returning S_OK instead. And that actually 'worked'.

I didn't check for any memory leaks caused by this and i guess for some other
apps it might not be a valid fix either, but i couldn't figure out what the
correct behaviour would be inbetween all of the rarely documented code.

I hope this does at least help somebody around here. It does at least make me
happy (finally being able to play poker on linux ;)).

If somebody could point me in the direction of a more suitable fix or if i
should submit this as an official patch, i'd be willing to do that as well.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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