[Bug 36791] Foxit Reader 6.2.0.0429 reports "File not found." when trying to open file via "recent files" on start page

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jan 30 05:34:15 CST 2021


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
          Component|-unknown                    |ieframe
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                URL|                            |https://web.archive.org/web
                   |                            |/20140528035234/http://cdn0
                   |                            |1.foxitsoftware.com/pub/fox
                   |                            |it/reader/desktop/win/6.x/6
                   |                            |.2/enu/FoxitReader620.0429_
                   |                            |enu_Setup.exe
      Fixed by SHA1|                            |ba2274c8bae67e9510ab24ca1ca
                   |                            |a6576874c8c6d
            Summary|Foxit Reader 6.2.0.0429:    |Foxit Reader 6.2.0.0429
                   |Failed to open file in      |reports "File not found."
                   |"recent files" on start     |when trying to open file
                   |page                        |via "recent files" on start
                   |                            |page
                 CC|                            |focht at gmx.net

--- Comment #6 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the problem was fixed a long time ago by commit
https://source.winehq.org/git/wine.git/commitdiff/ba2274c8bae67e9510ab24ca1caa6576874c8c6d
("ieframe: shellbrowser: Strip 'file://' from file URLs in BEFORENAVIGATE2
callbacks.").

Part of Wine 1.7.45 release.

Thanks Joachim.

Stable download link via Internet Archive:

https://web.archive.org/web/20140528035234/http://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/win/6.x/6.2/enu/FoxitReader620.0429_enu_Setup.exe

Relevant part of trace log before the fix:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Foxit Software/Foxit Reader

$ WINEDEBUG=+seh,+relay,+shlwapi,+shell,+ieframe,+urlmon wine ./Foxit\
Reader.exe >>log_bad.txt 2>&1
...
0009:Call urlmon.CoInternetCombineUrlEx(101c0640,1bc644e0
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf",06000000,0032ec58,00000000)
ret=7b3359ee
trace:urlmon:CoInternetCombineUrlEx (0x101c0640
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" 6000000 0x32ec58
0) stub
trace:urlmon:Uri_QueryInterface (0x101c0640)->(IID_IUriObj 0x32db74)
trace:urlmon:parse_schema (L"file://C:\\users\\Public\\Foxit Software\\Foxit
Reader\\StartPage\\start\\en_us\\index.html" 00000000 0x32daa0 64 0x32da9c) 
...
trace:urlmon:Uri_Construct ((nil) 0x32da54)
trace:urlmon:canonicalize_uri (0x32da58 0x103de3d8 80): beginning to
canonicalize URI
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf".
trace:urlmon:compute_canonicalized_length (0x32da58 80): Beginning to compute
canonicalized length for URI
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf"
trace:urlmon:compute_canonicalized_length (0x32da58 80): Finished computing
canonicalized URI length. length=59
...
trace:urlmon:canonicalize_scheme (0x32da58 0x103de3d8 80): Canonicalized
scheme=L"file", len=4.
trace:urlmon:remove_dot_segments (0x103de476 52): Path after dot segments
removed L"/Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" len=52
trace:urlmon:canonicalize_path_hierarchical Canonicalized path
L"/Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" len=52
trace:urlmon:canonicalize_uri (0x32da58 0x103de3d8 80): finished canonicalizing
the URI. uri=L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf"
...
0009:Ret  urlmon.CoInternetCombineUrlEx() retval=00000000 ret=7b3359ee
trace:urlmon:Uri_GetDisplayUri (0x103de3d8)->(0x32ec18)
trace:urlmon:Uri_GetPropertyBSTR (0x103de3d8
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf")->(2 0x32ec18 0)
...
trace:ieframe:DocHostUIHandler_TranslateUrl (0x196a70)->(0
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" 0x32ec1c)
trace:urlmon:Uri_AddRef (0x103de3d8) ref=2
trace:urlmon:Uri_Release (0x103de3d8) ref=1
trace:ieframe:DocObjectService_FireBeforeNavigate2 0x18ee50 (nil)
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" 40 (null) (nil)
0 (null) 1 0x32ec1c
...
trace:ieframe:ShellBrowser_AddRef (0x18ee50) ref=4
trace:ieframe:DocObjectService_FireBeforeNavigate2 >>>
...
0009:Call shlwapi.PathFindExtensionW(072456b0
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf") ret=01432c13
trace:shell:PathFindExtensionW
(L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf")
0009:Ret  shlwapi.PathFindExtensionW() retval=0724571e ret=01432c13
...
0009:Call shlwapi.PathIsRelativeW(0724910c
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf") ret=004afe90
trace:shell:PathIsRelativeW
(L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf")
0009:Ret  shlwapi.PathIsRelativeW() retval=00000001 ret=004afe90
--- snip ---

After the fix:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Foxit Software/Foxit Reader

$ WINEDEBUG=+seh,+relay,+shlwapi,+shell,+ieframe,+urlmon wine ./Foxit\
Reader.exe >>log_good.txt 2>&1
...
0009:Call urlmon.CoInternetCombineUrlEx(101c34c0,1bc68038
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf",06000000,0033ec58,00000000)
ret=7b332b7e
trace:urlmon:CoInternetCombineUrlEx (0x101c34c0
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" 6000000 0x33ec58
0) stub
trace:urlmon:Uri_QueryInterface (0x101c34c0)->(IID_IUriObj 0x33db74)
trace:urlmon:parse_schema (L"file://C:\\users\\Public\\Foxit Software\\Foxit
Reader\\StartPage\\start\\en_us\\index.html" 00000000 0x33daa0 64 0x33da9c)
trace:urlmon:CreateUri
(L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" 5 0 0x33db70) 
...
trace:urlmon:canonicalize_uri (0x33da58 0x103db9b0 80): beginning to
canonicalize URI
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf".
trace:urlmon:compute_canonicalized_length (0x33da58 80): Beginning to compute
canonicalized length for URI
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf"
trace:urlmon:compute_canonicalized_length (0x33da58 80): Finished computing
canonicalized URI length. length=59
...
trace:urlmon:canonicalize_scheme (0x33da58 0x103db9b0 80): Canonicalized
scheme=L"file", len=4.
trace:urlmon:remove_dot_segments (0x103dba4e 52): Path after dot segments
removed L"/Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" len=52
trace:urlmon:canonicalize_path_hierarchical Canonicalized path
L"/Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" len=52
trace:urlmon:canonicalize_uri (0x33da58 0x103db9b0 80): finished canonicalizing
the URI. uri=L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" 
...
0009:Ret  urlmon.CoInternetCombineUrlEx() retval=00000000 ret=7b332b7e
...
trace:ieframe:DocHostUIHandler_TranslateUrl (0x196a68)->(0
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" 0x33ec1c)
...
trace:ieframe:DocObjectService_FireBeforeNavigate2 0x101c23a0 (nil)
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf" 40 (null) (nil)
0 (null) 1 0x33ec1c
0009:Call shlwapi.PathCreateFromUrlW(101c2e0c
L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf",0033e988,0033e8a4,00000000)
ret=7c0b73a6
trace:shell:PathCreateFromUrlW
(L"file:///Z:/home/focht/Downloads/SampleSignedPDFDocument.pdf",0x33e988,0x33e8a4,0x00000000)
...
trace:shell:PathCreateFromUrlW Returning (51)
L"Z:\\home\\focht\\Downloads\\SampleSignedPDFDocument.pdf"
0009:Ret  shlwapi.PathCreateFromUrlW() retval=00000000 ret=7c0b73a6
...
trace:ieframe:ShellBrowser_AddRef (0x101c23a0) ref=4
trace:ieframe:DocObjectService_FireBeforeNavigate2 >>>
...
0009:Call shlwapi.PathFindExtensionW(07256688
L"Z:\\home\\focht\\Downloads\\SampleSignedPDFDocument.pdf") ret=01432c13
trace:shell:PathFindExtensionW
(L"Z:\\home\\focht\\Downloads\\SampleSignedPDFDocument.pdf")
0009:Ret  shlwapi.PathFindExtensionW() retval=072566e6 ret=01432c13
...
0009:Call shlwapi.PathIsRelativeW(072555d4
L"Z:\\home\\focht\\Downloads\\SampleSignedPDFDocument.pdf") ret=004afe90
trace:shell:PathIsRelativeW
(L"Z:\\home\\focht\\Downloads\\SampleSignedPDFDocument.pdf")
0009:Ret  shlwapi.PathIsRelativeW() retval=00000000 ret=004afe90 
--- snip ---

$ sha1sum FoxitReader620.0429_enu_Setup.exe 
6d0a8877cd82c957f50b05fa7b4b2cb0b34a5cc8  FoxitReader620.0429_enu_Setup.exe

$ du -sh FoxitReader620.0429_enu_Setup.exe 
38M    FoxitReader620.0429_enu_Setup.exe

$ wine --version
wine-1.7.45

Regards

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