Closed Bug 1939432 Opened 1 year ago Closed 1 year ago

Image data copy-pasted from Paint.NET is corrupted

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

Firefox 133
defect

Tracking

()

RESOLVED DUPLICATE of bug 1866655

People

(Reporter: namida.verasche, Unassigned)

Details

Attachments

(1 file)

Attached image copypaste-bug-2.png —

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

Steps to reproduce:

  1. Copy some image to the clipboard in Paint.NET.
  2. Paste it into a field that accepts image input (eg. a GMail message or a Facebook status) in Firefox.

It is unclear whether Paint.NET, Firefox, or both, is responsbile for this bug. The bug neither occurs when copy-pasting from MS Paint to Firefox; nor when copy-pasting from Paint.NET to Edge. For this reason I have reported it to both apps' teams.

This bug has existed for quite some time now, over multiple updates of both Paint.NET and Firefox. I do recall it working correctly in the further past.

Actual results:

The image is corrupted (see attachment). The original image that was uploaded to produce this was just the alternating shade squares (no black line at the top, no misalignment near the right).

Expected results:

The image data should paste correctly.

To add to this: It's only from Paint.NET, to Firefox, that has a problem. Copy-pasting an image from Firefox to Paint.NET works fine.

Comment on attachment 9445295 [details]
copypaste-bug-2.png

This is the result of pasting the image into Firefox from Paint.NET. The original image was simply alternating squares in these two colors, with all squares being exactly 32x32 (no black line on the top, no weirdness on the right, no cut-off on the left).

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Copy & Paste and Drag & Drop' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Copy & Paste and Drag & Drop
Product: Firefox → Core

I tried with an image, and it got pasted correctly in Gmail compose window.
Can you:

  1. In your Firefox browser go to "about:support" and copy-paste its contents here
  2. Attach a sample input image that repros this issue for you?
Flags: needinfo?(namida.verasche)

Is there anything in particular I'm looking for in about:support? A bit unsure about pasting the whole thing publicly...

The issue occurs with literally any image (or part thereof) that is copy-pasted from Paint.NET. To be clear, I am talking about copying actual image data to the clipboard; not "copy a file made in Paint.NET". There is no such thing as an image that I can copy-paste from Paint.NET and not have this issue.

Flags: needinfo?(namida.verasche)

Paint.net devs believe it’s a known Firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1866655

(In reply to namida.verasche from comment #6)

Paint.net devs believe it’s a known Firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1866655

Thanks for pointing out this bug. It surely looks a duplicate to me.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1866655
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: