Paste image from clipboard (?)

reported by @tonytran (let me know if i have this right)
https://discord.com/channels/857305113936134204/1087809513576484945/1393403058972524677

filing this as a feature req instead of a bug , bc i never designed this for pasting images.

is this the same scenario as https://forum.kinopio.club/t/request-ability-to-paste-images-from-clipboard/89 ?

From paint.net copy image to clipboard:
index-BWK_KQTD.js:59 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘replaceAll’)
at Al (index-BWK_KQTD.js:59:67763)
at index-BWK_KQTD.js:59:57689
at index-BWK_KQTD.js:24:736
at Array.forEach ()
at Ko (index-BWK_KQTD.js:24:724)
at Proxy.T (index-BWK_KQTD.js:24:2254)
at S.upload.onprogress (index-BWK_KQTD.js:37:29993)

so paint.net is an image editor app (https://www.getpaint.net/) and you copied the current image somehow and tried to cmd/ctrl-v paste it into kinopio? (into a card name, or just into the space without a card being open?)

image

2 Likes

Yeah this is the function.
Previously Kinopio would be able to paste from clipboard - either copied from software or copy from browser.

As long as you let it upload to 100% it would finish the task - if you didn’t and made a new card during 0-99% it would cancel the upload.

1 Like

more logs https://discord.com/channels/857305113936134204/1087809513576484945/1397115227602026537

released a potential fix for this. let me know if it works

Can you tell me your repro steps in detail? I think they might be different than OP

  1. copy some image
  2. left click on board ( action to create card)
  3. ctrl+v image

yup step 2 is distinct from the OP. the original report which i’ve fixed is not first creating a card. just ctrl-v to paste the image where your mouse currently is.

i’ll look into adding support for your steps too

i think that this scenario was working fine for me before but right now its broken

ctrl+v without clicking has 0 console response

UPD:
ctrl+v without clicking works in mozilla => this must be related to " One copy per session Chromium " bug

but click+ctrlv not working in mozilla also

upd2:
image

seems like this image uploads to kinopio server bc the link works and opens image