immich icon indicating copy to clipboard operation
immich copied to clipboard

image metadata cannot be copied to clipboard

Open uhthomas opened this issue 11 months ago • 1 comments

The bug

I want to copy the filename, but can't because Immich is quite aggressively pushing the image to the clipboard instead.

image

The OS that Immich Server is running on

N/A

Version of Immich Server

v1.65.0

Version of Immich Mobile App

N/A

Platform with the issue

  • [ ] Server
  • [X] Web
  • [ ] Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

N/A

Additional information

No response

uhthomas avatar Jul 08 '23 23:07 uhthomas

I've seen this too, seems like we should prevent the custom action when there is text selected.

jrasm91 avatar Jul 09 '23 01:07 jrasm91

Hi @jrasm91 @bo0tzz @uhthomas , I am really interested in this app and would like to start contributing to this.

Just to clarify on this bug so I can make a PR, I believe that we want to limit the place where can we can copy the selected image, for now if I press Ctrl + C anywhere in the browser, it auto shows the Copied image to clipboard. Is this correct?

tranquanghuy0801 avatar Jul 13 '23 13:07 tranquanghuy0801

Essentially, yes. In photo-viewer.svelte we should not process the keyboard event, prevent the default behavior etc., if there is currently a range selection.

jrasm91 avatar Jul 13 '23 13:07 jrasm91