http://bugs.winehq.org/show_bug.cgi?id=36791
--- Comment #2 from lizhenbo litimetal@gmail.com --- Created attachment 48895 --> http://bugs.winehq.org/attachment.cgi?id=48895 Screenshot with a dirty hack
I think at least two problems are related to Foxit Reader
The first is PathIsRelativeW. ----snip of WINEDEBUG=+mshtml.+relay,+tid log--- 002a:Call shlwapi.PathIsRelativeW(0761a16c L"file:///C:/users/lizhenbo/My%20Documents/Documents/c/c8.pdf") ret=004afe90 002a:Ret shlwapi.PathIsRelativeW() retval=00000001 ret=004afe90 002a:Call KERNEL32.GetFullPathNameW(0761a16c L"file:///C:/users/lizhenbo/My%20Documents/Documents/c/c8.pdf",00000104,0032e614,0032e60c) ret=004afec5 ---------------------------------------------------
I wrote a *very dirty* hack for it: diff --git a/dlls/shlwapi/path.c b/dlls/shlwapi/path.c index 5c7a88a..62da6f1 100644 --- a/dlls/shlwapi/path.c +++ b/dlls/shlwapi/path.c @@ -1548,6 +1548,8 @@ BOOL WINAPI PathIsRelativeW (LPCWSTR lpszPath) return TRUE; if (*lpszPath == '\' || (*lpszPath && lpszPath[1] == ':')) return FALSE; + if (lpszPath[0] == 'f' && lpszPath[1] == 'i') + return FALSE; return TRUE; }
And the behaviour has been changed(see my attachment)
I think we should concentrate this problem in shlwapi. then try to locate the bug (may) related to ieframe or mshtml?