Open Bug 1583309 Opened 6 years ago Updated 3 years ago

Images copied into clipboard upside down

Categories

(Core :: Graphics: ImageLib, defect, P3)

68 Branch
defect

Tracking

()

People

(Reporter: timeroot.alex, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image image0.jpg

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36

Steps to reproduce:

View https://cdn.discordapp.com/attachments/464641014506848256/625479852509626369/image0.jpg in Firefox and observe that it is the correct orientation (hand is on the bottom, reaching up). In case that link breaks, I've also attached the image

Copy image into clipboard

Paste into another tab that accepts images, such as Messenger.com or pasteboard.co

Actual results:

Image is now upside down

Expected results:

Image should maintain orientation

I can also reproduce the issue on Chromium 78.0.3883.0(Developer Build)Windows10.

Component: Untriaged → ImageLib
Product: Firefox → Core

I guess "Copy image" loses exif orientation flag.

We don't seem to check orientation anywhere except on the draw path, so I'm not surprised it is rotated incorrectly after copy and paste.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: