GNOME Bugzilla – Bug 689442
Handle the directory being removed while it is being viewed
Last modified: 2013-03-31 21:42:13 UTC
EasyTAG crashes if the directory being viewed is removed: https://sourceforge.net/tracker/?func=detail&aid=2861973&group_id=5216&atid=105216 Easytag 2.1.4. Load directory on a USB drive. Unmount the USB drive then click a directory to load it. Easytag will always crash. This bug doesn't only happen with an USB drive but everywhere. Here is what I did : Directory A > Directory B > Directory C > Directory D We load Directory D in EasyTag. We delete Directory B so ( Directory B > Directory C > Directory D) doesn't exist anymore. We can still see all the directories in EasyTag, this is normal because we haven't "refresh" Easytag. We load Directory C and an error message appears and says that Directory C doesn't exist. Automatically, EasyTag will try to load the parent directory, in this case it is Directory B. Once again an error message appears and say that Directory B doesn't exist. At this stage there are no problems, the software behaves as we expect it to. The problem is when EasyTag load Directory A. Directory A is still at his right place but the program crashes when it loads it. (Easytag 2.1.6 on Ubuntu 9.10)
Created attachment 239345 [details] [review] This proposed patch fixes the above Bug 689442.
Comment on attachment 239345 [details] [review] This proposed patch fixes the above Bug 689442. I pushed a slightly-modified patch to master as commit 1001033d686b303ddd46631576e3834ef8c636bd, thanks.