[Bug 43329] Multiple applications fail to get selected path after double click last path element in IFileDialog2 folder selection dialog (Wargaming.net Game Center, Adobe DNG Converter 10.x/11.x)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 13 17:01:11 CDT 2018


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                URL|                            |http://download.adobe.com/p
                   |                            |ub/adobe/dng/win/DNGConvert
                   |                            |er_11_0.exe
             Status|UNCONFIRMED                 |NEW
            Summary|comdlg32/filedlg: incorrect |Multiple applications fail
                   |path selection              |to get selected path after
                   |                            |double click last path
                   |                            |element in IFileDialog2
                   |                            |folder selection dialog
                   |                            |(Wargaming.net Game Center,
                   |                            |Adobe DNG Converter
                   |                            |10.x/11.x)
                 CC|                            |focht at gmx.net
           Keywords|                            |download

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

I can confirm this annoying behaviour with Adobe DNG Converter 10.x/11.x when
doing folder selection for images to convert.

NOTE: The app behaves differently depending on the Windows version setting.

'Windows XP' -> uses 'SHBrowseForFolder' (works properly)
'Windows 7' (default) -> uses 'IFileDialog2'

In 'Windows 7' mode (default) when double clicking on a folder, the app will
reset the selection and shows "no images have been selected".

This works:

1) double click "My Computer"
2) double click "C:\"
3) select "Program Files"
4) click "select" button -> shows "c:\Program Files" as selected path

This doesn't work:

1) double click "My Computer"
2) double click "C:\" 
3) double click "Program Files" (shows "Program Files" in filename edit
control)
4) click "select" button -> resets selection, folder selection didn't work

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Adobe/Adobe DNG Converter

$ WINEDEBUG=+commdlg wine ./Adobe\ DNG\ Converter.exe
...
0057:trace:commdlg:IExplorerBrowserEvents_fnOnViewCreated 0x6f1c50 (0x1263780)
0057:trace:commdlg:IExplorerBrowserEvents_fnOnNavigationComplete 0x6f1c50
(0xcf06a0)
0057:trace:commdlg:events_OnFolderChange 0x6f1c50
0057:trace:commdlg:on_idok 0x6f1c50
0057:trace:commdlg:on_default_action Acting on 1 file(s).
0057:trace:commdlg:COMDLG32_GetCanonicalPath current directory=L"C:\\Program
Files\\"
0057:trace:commdlg:COMDLG32_GetCanonicalPath canon=L"C:\\Program Files\\Program
Files"
0057:trace:commdlg:FILEDLG95_ValidatePathAction parse now=L"C:\\"
next=L"Program Files\\Program Files" sf=0x6f1f10
0057:trace:commdlg:FILEDLG95_ValidatePathAction parse OK attr=0xf080017f
pidl=0x1263640
0057:trace:commdlg:FILEDLG95_ValidatePathAction parse now=L"Program Files\\"
next=L"Program Files" sf=0xcf2740
0057:trace:commdlg:FILEDLG95_ValidatePathAction parse OK attr=0xf080017f
pidl=0x6ccc40
0057:trace:commdlg:FILEDLG95_ValidatePathAction parse now=L"Program Files"
next=L"" sf=0x6f5a00
0057:trace:commdlg:events_OnFileOk 0x6f1c50
0057:trace:commdlg:on_wm_destroy 0x6f1c50
0057:trace:commdlg:IExplorerBrowserEvents_fnRelease 0x6f1c50
0057:trace:commdlg:IFileDialog2_fnRelease 0x6f1c50 - ref 5
0057:trace:commdlg:IFileDialog2_fnRelease 0x6f1c50 - ref 4
0057:trace:commdlg:ICommDlgBrowser3_fnRelease 0x6f1c50
0057:trace:commdlg:IFileDialog2_fnRelease 0x6f1c50 - ref 3
0057:trace:commdlg:ICommDlgBrowser3_fnRelease 0x6f1c50
0057:trace:commdlg:IFileDialog2_fnRelease 0x6f1c50 - ref 2
0057:trace:commdlg:ICommDlgBrowser3_fnRelease 0x6f1c50
0057:trace:commdlg:IFileDialog2_fnRelease 0x6f1c50 - ref 1
0057:trace:commdlg:create_dialog Returning 0x00000000
0057:trace:commdlg:IFileDialog2_fnGetResult 0x6f1c50 (0x239f50)
0057:trace:commdlg:IFileDialog2_fnRelease 0x6f1c50 - ref 0
0057:trace:commdlg:ctrl_container_on_wm_destroy 0x6f1c50
--- snip ---

Path was incorrectly canonicalized (last path element repeated).

$ sha1sum DNGConverter_11_0.exe 
68ec7f06544d9f893efd3ef19b9487266ad70722  DNGConverter_11_0.exe

$ du -sh DNGConverter_11_0.exe 
376M    DNGConverter_11_0.exe

$ wine --version
wine-3.18

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