Do we need: A folder cannot be dropped into itself

todd rme toddrme2178 at gmail.com
Tue May 29 09:39:25 BST 2012


On Mon, May 28, 2012 at 11:39 PM, Peter Penz <peter.penz19 at gmail.com> wrote:
> On 05/28/2012 09:47 PM, Alex Fiestas wrote:
>>
>> On Monday, May 28, 2012 09:32:43 PM Peter Penz wrote:
>>>
>>> On 05/28/2012 08:44 PM, Alex Fiestas wrote:
>
> [...]
>
>>> Sorry, I but did not understand your suggestion: If the users drops
>>> folder A into A - what should be done here instead of showing the
>>> error-message?
>>
>> Nothing, the folder will still be selected and nothing should happen.
>
>
> OK.
>
>
>>>  >  Maybe in that case we could
>>>  >  move everything into the folder besides the error?
>>>
>>> But folder A contains already everything - what should be moved?
>>
>> If we have selected folder A and files B C, then we drop A,B,C into A
>> files B
>> and C should be moved into A.
>
>
> OK, I understand now. But I'm not really sure if just copying B and C
> without any feedback should be done. We assume here that the user
> accidentally selected folder A, but it might also possible that the user
> accidentally has hovered the wrong folder when dropping.
>
> Lets assume the user intended to drop A, B and C into the folder A0 and not
> A, but accidentally dropped it to folder A. Now if we just move B, and C
> into A, the user might not even notice that nothing has been moved into A0:
> Dolphin will say "Moving finished" without any feedback that the folder "A"
> has been ignored.
>
> Before discussing this in more detail, I think the best solution would
> anyhow be different: Instead of showing an error-message _after_ the
> dropping has been done, a "you-cannot-drop-here"-sign _during_ dropping
> might be better.
>
> I planned to implement this for 4.9 already but had some troubles to change
> the cursor during dragging with QGraphicsView... Should be no big deal I
> think, but currently there are still other more important issues to fix ;-)

Another possibility would be that it shows the error just for that
folder, and gives the user the option to cancel the move or just skip
that folder (like we already do for other sorts of file conflicts).

-Todd




More information about the kfm-devel mailing list