Drag and drop creates some kind of self referential loop

I noticed that the default for clicking and dragging the mouse in
emelfm2 has changed to the drag and drop functionality.  While this is
fine (and I wanted to suggest having a configuration option that could
default to dnd but could also disable it if the user wanted to, as I'd
like to be able to disable it myself :P), I noticed a very annoying bug
I thought I should report in the latest emelfm2 (0.1.2).

If you click on a folder and drag it, even accidentally, and then drop
it back on itself, it makes embedded folder hierarchies within that
folder that match the one you started at.  It's a very weird bug to
describe, the most similar thing I can relate to is the whole /boot
infinite symlink thing, where if you enter the folder, there's another
one right there of the same name, and so on forever.  I've accidentally
done this at least 3 or more times myself.  Maybe if the area you're
dragging to is yourself then don't drop anything or something.

I'm not sure if this bug has already been reported, I've tried searching
for it, but can't come up with anything.

How to reproduce:
1) Create a folder in emelfm2
2) Click on folder and induce drag n drop
3) Drop onto original folder
4) Change directory to that folder

Thanks! (And I hope I'm not repeating an already reported bug :P)


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: