Paste image from clipboard error #77

Closed
opened 2024-01-22 16:58:13 +01:00 by TheRedWaxPolice · 6 comments

When you copy and then paste an image from the clipboard directly in the text field, the image only show up for you (original poster)... on everyone else it says "not found"...

Example of posts with this problem:
blender/blender#116665 (comment)
blender/blender#117351 (comment)

To reproduce, just paste an image from clipboard in a comment, and then open the post in a private/incognito window or on another web browser... and you'll see that the pasted image won't show up...

When you copy and then paste an image from the clipboard directly in the text field, the image only show up for you (original poster)... on everyone else it says "not found"... Example of posts with this problem: https://projects.blender.org/blender/blender/issues/116665#issuecomment-1093160 https://projects.blender.org/blender/blender/pulls/117351#issuecomment-1107071 To reproduce, just paste an image from clipboard in a comment, and then open the post in a private/incognito window or on another web browser... and you'll see that the pasted image won't show up...

I'm not certain that it is as simple as that. I suspect this happens if you click "submit" while it is still uploading perhaps?

The other day I made 6 separate PRs, one after the other as they were all related, doing each one the same. Only one ended up with broken images.

The following test image was pasted directly into this comment:
image

Edit: and is visible when I view it from an incognito window

I'm not certain that it is as simple as that. I suspect this happens if you click "submit" while it is still uploading perhaps? The other day I made 6 separate PRs, one after the other as they were all related, doing each one the same. Only one ended up with broken images. The following test image was pasted directly into this comment: ![image](/attachments/db582e68-d670-4e27-8b99-e6378700c7ce) Edit: and is visible when I view it from an incognito window
805 KiB

I suspect this happens if you click "submit" while it is still uploading perhaps?

Hmm, I don't think so... the images seemed to be fully uploaded, they were even showing just fine in the preview mode...

Can you see the following image?

image

> I suspect this happens if you click "submit" while it is still uploading perhaps? Hmm, I don't think so... the images seemed to be fully uploaded, they were even showing just fine in the preview mode... Can you see the following image? ![image](/attachments/7b1767de-e023-4241-9203-f7ad3fefbec3)

Ok, this is weird... I can see it on a private window..
So it seems like the issue happens randomly...

Ok, this is weird... I can see it on a private window.. So it seems like the issue happens randomly...
Brecht Van Lommel added the
Type
Bug
label 2024-01-27 00:56:01 +01:00

This may be resolved upstream: "copy/pasting an image and then showing as not found" https://github.com/go-gitea/gitea/issues/28915

This may be resolved upstream: "copy/pasting an image and then showing as not found" https://github.com/go-gitea/gitea/issues/28915

That indeed looks like the same thing. We'll confirm the next time we update Gitea.

That indeed looks like the same thing. We'll confirm the next time we update Gitea.

This should be fixed now with the latest Gitea update, if not we can reopen this.

This should be fixed now with the latest Gitea update, if not we can reopen this.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/blender-projects-platform#77
No description provided.