[Bug 171479] Moving the desktop directory doesn't check if the destination directory is a subdirectory of the orginial

Albert Astals Cid tsdgeos at terra.es
Wed Oct 8 23:33:40 BST 2008


http://bugs.kde.org/show_bug.cgi?id=171479





--- Comment #3 from Albert Astals Cid <tsdgeos terra es>  2008-10-09 00:33:39 ---
So what about this:

 - First, do the question that is already on the code
 - If he says yes, after that, if src.isParentOf(dest) ask a new question
telling the user this is unusual to do and ask him if he is sure
 - If he says yes, after that, if src is the home of the user ask a new
question telling the user this might be disruptive and ask him if he is sure

Getting three messageboxes in a row is probably more than enough so you end up
reading at least one of them and pressing Cancel on time if that's not exactly
what you want to do.


On the other hand we might just do the check you do now plus a message saying
the files would not be moved from foo to bar because bar is a child of foo,
that the user should move any document himself manually.

I'm not really sure, you choose ;.)


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list