android icon indicating copy to clipboard operation
android copied to clipboard

Copy/Move to same folder

Open jesmrec opened this issue 2 years ago • 1 comments

In the following scenario, Android app behaves in a very different way comparing with other clients:

  1. Select any item of the list
  2. Select Copy or Move actions
  3. Select as target folder the current folder

Current behaviour across the platform:

Android:

  • Copy to same folder -> create a duplicate with (2)
  • Move to same folder -> rename to (2)

iOS:

  • Copy to same folder -> not allowed
  • Move to same folder -> not allowed

Web (classic):

  • Copy to same folder -> not allowed (by drag and drop)
  • Move to same folder -> NA

Web (oCIS):

  • Copy to same folder -> not allowed (error message)
  • Move to same folder -> not allowed (error message)

Desktop client:

  • Copy to same folder -> duplicate with copy (like any other file in the OS)
  • Move to same folder -> NA

I'd go for the "not allowed" and prevent copy/move to the current folder

Question to solve/discuss: expected behaviour for copying/moving in document provider

jesmrec avatar Jul 05 '22 12:07 jesmrec

Checked also this related scenario:

  1. Select item
  2. Copy / Move
  3. Select target folder that contains other item with same file/folder name

In iOS and web, it is prevented as well.

jesmrec avatar Jul 07 '22 13:07 jesmrec

Will follow the oCIS behaviour.

jesmrec avatar Aug 26 '22 09:08 jesmrec