http://bugs.winehq.org/show_bug.cgi?id=17633
Summary: Zoner Photo Studio has broken computer tree Product: Wine Version: 1.1.16 Platform: PC OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 AssignedTo: wine-bugs@winehq.org ReportedBy: petr.sumbera@sun.com
Created an attachment (id=19816) --> (http://bugs.winehq.org/attachment.cgi?id=19816) patch
Zoner Photo Studio has broken computer tree (instead directory names just strange/empty characters/boxes). This is regression after:
---
cf164785afac461a84e23d1e370205c28de73e0a is first bad commit commit cf164785afac461a84e23d1e370205c28de73e0a Author: Aric Stewart aric@codeweavers.com Date: Mon Nov 3 10:14:53 2008 -0600
shell32: Do not automatically fail in SHGetFileInfo if the flag SHGFI_USEFILEATTRIBUTES is combined with SHGFI_ATTRIBUTES, SHGFI_EXETYPE, or SHGFI_PIDL.
:040000 040000 6d94577d69fa143f0911de5fa1336c4d6c698d63 81a41666dac7553414bff76b73f986f7b15580ab M dlls
---
It seems that szFullPath is needed even for SHGFI_PIDL and SHGFI_USEFILEATTRIBUTES flags combination (ZPS uses flags=0x20e18).
See attached patch which fixes this.