Closed Bug 1664387 Opened 4 years ago Closed 2 years ago

Transparency lost when pasting images into firefox

Categories

(Core :: Widget: Win32, defect)

80 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 460969

People

(Reporter: 12Me21.MC, Unassigned)

Details

Attachments

(1 file)

Attached file paste.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0

Steps to reproduce:

When detecting pasted images with the paste event's clipboardData, transparency data is lost
See paste.html for an example. (Try copying the example image and pasting it on the page, the background should turn black)

Tested on windows 10.
I suspect it's caused by the way windows stores image data in the clipboard

Actual results:

Transparent pixels become opaque/black

Expected results:

Transparency is preserved

Component: Untriaged → DOM: Events
Product: Firefox → Core

Works for me on Linux.

Component: DOM: Events → Widget: Win32
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 460969
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: