[Bug 13015] images broken in many chm files

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Dec 30 21:52:51 CST 2008


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


Jeff Zaroyko <jeffz at jeffz.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
            Summary|ProntoEdit NG 2.1.8 help:   |images broken in many chm
                   |some images broken          |files




--- Comment #4 from Jeff Zaroyko <jeffz at jeffz.name>  2008-12-30 21:52:50 ---
I've had a dig at this, it seems the wrong URLs for images are being passed to
itss.  Here's an excerpt trace for a chm that has a relative image
"pics/tuto00.gif".


0009:Call urlmon.CoInternetCombineUrl(01c071d0
L"mk:@MSITStore:Z:/home/jeffz/chm/GaleUS.chm::tutorial01.html",0032a0d0
L"pics/tuto00.gif",06000000,0032b118 L"\60d0\01e7@",00000824,0032c160,00000000)
ret=7e\
159e14
0009:trace:urlmon:parse_schema
(L"mk:@MSITStore:Z:/home/jeffz/chm/GaleUS.chm::tutorial01.html" 00000000
0x329f10 64 0x329f90)
0009:Call shlwapi.UrlCombineW(01c071d0
L"mk:@MSITStore:Z:/home/jeffz/chm/GaleUS.chm::tutorial01.html",0032a0d0
L"pics/tuto00.gif",0032b118 L"\60d0\01e7@",00329fe8,06000000) ret=7e3cdc97

0009:trace:shell:UrlCombineW no scheme detected in Relative
...
0009:trace:shell:UrlCanonicalizeW
(L"mk:@MSITStore:Z:/home/jeffz/chm/GaleUS.chm::tutorial01.html/pics/tuto00.gif",
0x18c918, 0x329fe8, 0x06000000) *pcchCanonicalized: 2084
...
0009:Ret  shlwapi.UrlCombineW() retval=00000000 ret=7e3cdc97
0009:Ret  urlmon.CoInternetCombineUrl() retval=00000000 ret=7e159e14

incorrect URL appears: should be
mk:@MSITStore:Z:/home/jeffz/chm/GaleUS.chm::/pics/tuto00.gif
And then in itss: the resulting bad url is used:

0009:trace:itss:ITS_IParseDisplayNameImpl_ParseDisplayName 0x1e75040
L"@MSITStore:Z:/home/jeffz/chm/GaleUS.chm::tutorial01.html/pics/tuto00.gif"
0x32e0c0 0x32e
0009:trace:itss:ITS_IMoniker_create -> 0x1c0a460
L"Z:/home/jeffz/chm/GaleUS.chm" L"tutorial01.html/pics/tuto00.gif"0cc
0009:trace:itss:ITSS_IStorageImpl_OpenStream Resolving
L"/tutorial01.html/pics/tuto00.gif"
0009:warn:itss:ITSS_IStorageImpl_OpenStream Could not resolve object

And so the broken image place holder is displayed instead.  Revising summary
and setting severity to major as this affects many applications.


-- 
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