shell32: only notify immediate parent

Lei Zhang thestig at google.com
Tue Nov 20 15:39:38 CST 2007


Hi,

I noticed with my shell32 patch for UnixFolder_ISFHelper_CopyItems, if
I have a directory c:\foo, which contains bar.txt, if I copy the
directory c:\foo and paste it into c:\qux, we create c:\qux\foo and
then c:\qux\foo\bar.txt. Here, SHChangeNotify() gets called for each
file/directory we create. However, c:\qux is getting the notification
for c:\qux\foo\bar.txt, thus creating a phantom file c:\qux\bar.txt in
the file dialog box.

I believe this behavior is wrong. Only the immediate parent directory
should get the notification, not all parent directories.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-shell32-only-notify-immediate-parent.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20071120/6fdc4972/attachment.txt 


More information about the wine-patches mailing list