View Issue Details

IDProjectCategoryView StatusLast Update
0003115MMW v4DB/FileMonitorpublic2007-06-18 19:44
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0 
Fixed in Version3.0 
Summary0003115: Regression: File Monitor doesn't automatically refresh in response to changes in a directory name
DescriptionIn build 1041, if folder x, is being monitored, and folder y is contained within folder x, then if folder y is renamed in Explorer, MM does not detect this. i.e. all the tracks within folder y become inacessible.

Tested on XP.
TagsNo tags attached.
Fixed in build1045

Activities

jiri

2007-06-15 12:08

administrator   ~0009425

Last edited: 2007-06-15 12:08

Assigning to Petr. The problem is in ShortFN2LongFN() function, it uses FileExistsW() function, but on rename this returns false, because the folder is already renamed. Let me know should we need to discuss how to fix it...

Btw, confirmed on Vista.

petr

2007-06-15 19:07

developer   ~0009437

Fixed. Will be in 1042.

rusty

2007-06-15 23:31

administrator   ~0009450

Tested 1042--this issue is still open.

user_Morten

2007-06-16 19:08

developer   ~0009453

I have a folder organized like this;
E:\Unsorted Music\<Artist>\<Album>\<Track#> <Title>

When "Unsorted music" is monitored, I experience this:
1) Changing the <Artist> (the sub-folder of Unsorted Music) doesn't get noticed by MediaMonkey and the files are greyed out by the program.
2) Changing the <Album> (the sub-sub-folder of Unsorted Music) however get noticed by MediaMonkey and the files aren't greyed out by the program.

This is tested in Vista with build 1042.

petr

2007-06-17 18:50

developer   ~0009459

I've tested and works perfectly for me. Also Morten confirmed that it works OK in vista.

rusty

2007-06-18 13:36

administrator   ~0009476

Let me just clarify EXACTLY how I reproduce this. If you and Morten can't reproduce the problem, I'll assume it's a non-issue:

1) Set up the following structure:
Folder X
--Folder Y
----Folder Z
------Track A by artist C
------Track B by artist C

2) In MM's tree, place focus on Artist=C

3) Enable File Monitor for Folder Y

4) In Windows Explorer, rename Z to Z1

5) Switch focus back to MediaMonkey, but do not switch nodes (focus should already be on the Artist=C node). Hover the mouse over the path for Track A and verify whether it has been updated.

-->In my case it isn't updated

6) Press <F5> to refresh

-->Path for Track A is updated

user_Morten

2007-06-18 13:57

developer   ~0009478

Reproduced Rusty's issue in Vista with build 1044.

petr

2007-06-18 15:32

developer   ~0009482

Fixed. Will be in 1045.

rusty

2007-06-18 19:44

administrator   ~0009493

Verified file and folder operations work with new file monitor changes in 1045.