android
android copied to clipboard
Copy/Move to same folder
In the following scenario, Android app behaves in a very different way comparing with other clients:
- Select any item of the list
- Select Copy or Move actions
- 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
Checked also this related scenario:
- Select item
- Copy / Move
- Select target folder that contains other item with same file/folder name
In iOS and web, it is prevented as well.
Will follow the oCIS behaviour.