web icon indicating copy to clipboard operation
web copied to clipboard

Copy/paste persistence across tabs

Open pasnox opened this issue 3 years ago • 3 comments

Copy/pasting operations does not survive new tabs, so we needs to leave the current place and browse back to another location inside the initial tab... and then go back again in the previous location - annoying like hell to move around some stuff

Steps to reproduce

  1. Open Files app
  2. Go to a folder
  3. Select and click Copy on some files
  4. Paste button appears
  5. Create a new tab in your browser from the current tab
  6. Paste button is missing

Expected behaviour

Paste button should be shown so that we cna easily copy and paste in another directory without leaving the initial folder

Actual behaviour

I need to leave my initial folder and browse another location to be able to paste, then I need to browse back again to my original locations to continue my maintenance operation.

Environment general

Operating system: Linux

Backend (ownCloud Core or Infinite Scale): OCIS

Environment ownCloud Infinite Scale

Version: 2.0.0

pasnox avatar Dec 23 '22 19:12 pasnox

This is an interesting request, but I assume this might be hard to get right, so people aren't surprised by the behavior. I'd say technically it's rather easy to implement, but spec'ing this out might be tough.

@tbsbdr thoughts?

dschmidt avatar Dec 24 '22 00:12 dschmidt

This is an interesting request, but I assume this might be hard to get right, so people aren't surprised by the behavior.

I'd say technically it's rather easy to implement, but spec'ing this out might be tough.

@tbsbdr thoughts?

I agree that the UX is the harder part. We thought about a file clipboard visualization in the past (some overlay that shows the files that are in the clipboard). Maybe this would help make this feature understandable. Def. needs some concepting :-)

kulmann avatar Dec 24 '22 07:12 kulmann

Proposal:

  • v. 1) Minimum viable product: copy/cut an item -> shows "Paste here" in every tab (means also: copy/cut overrides current clipboard, there are no "multiple" clipboards). Not sure if this even needs a more verbose explanation as this mimics native file explorer behaviour.
  • v. 2) Show a Count in the "Paste here (5)" button to reflect the ammount of current items in the clipboard. Only counts the "root" items as they had been visible to the user.
  • v. 3) Show clipboard-files in an overlay as mentioned by @kulmann https://github.com/owncloud/web/issues/8153#issuecomment-1364478046

tbsbdr avatar Dec 27 '22 16:12 tbsbdr