After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684350 - file is shown as directory after directory is recursively deleted
file is shown as directory after directory is recursively deleted
Status: RESOLVED FIXED
Product: meld
Classification: Other
Component: dirdiff
1.6.x
Other Linux
: Normal minor
: ---
Assigned To: Kai Willadsen
meld-maint
Depends on:
Blocks:
 
 
Reported: 2012-09-19 06:49 UTC by Balint Reczey
Modified: 2012-09-24 21:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (2.19 KB, patch)
2012-09-21 23:35 UTC, Kai Willadsen
none Details | Review

Description Balint Reczey 2012-09-19 06:49:18 UTC
Reproduction:

cd /tmp
mkdir 1 2 2/d
touch 1/a 1/b 2/a 2/b
meld 1 2

Now right click in the right pane over the 'd' directory (where 'd' exists) and select Delete->OK. After that, the 'a' file is wrongly showed as a directory with a ">" icon at the left to expand it.

The problem has been reported to Debian at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688058
Comment 1 Kai Willadsen 2012-09-21 23:35:13 UTC
Created attachment 224964 [details] [review]
Patch

Thanks for the detailed steps. That made this significantly easier to debug.

The patch commit message has details of the actual problem, which is kind of ugly and involved. However, the patch I've attached seems to work for me. I'd appreciate some additional testing of this patch before it actually gets pushed however.
Comment 2 Balint Reczey 2012-09-23 18:25:07 UTC
The fix works nicely for me, too. Thanks!
Comment 3 Kai Willadsen 2012-09-24 21:07:22 UTC
Thanks for testing. I've pushed the fix to head.