shell32: only notify immediate parent

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


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

More information about the wine-patches mailing list