Screenshots are corrupted when pasting from Paint.net into Confluence using Firefox 121 (but not Edge)
I'm not sure where the issue is exactly, but I suspect its something to do with different standards of storing images in clipboards.
If you see the images, this is a screenshot of an Excel grid, taken using win 11 snap tool (shift+win+s). I paste this into paint.net (5.0.12) Then select all and copy/paste into Confluence using Firefox. The edges of the images are either shifted, or a line is added.
If I use Paint instead of paint.net, it is ok. If i use Edge instead of Firefox, it is ok. Saving the file as png and importing it and its ok. Pasting from paint.net into Powerpoint and its ok.
Any ideas what is causing this or how to fix it? I'm going to ask Atlassin (Confluence) and paint.net help as well.
Gewysig op
All Replies (2)
UPDATE: This is potentially a bug in either Firefox or Confluence, due to different handling of DIB and DIBV5 formats from the clipboard.
see
and
https://forums.getpaint.net/topic/122848-pasting-dibv5-image/
for specific details.
Does anyone know how to check how Firefox is handing these?
It's Firefox, I see the same behaviour while pasting into big sites like GitHub or Reddit too. STR: - open Paint.net - select red from the colorpicker - press Ctrl+A (select all) - press Backspace (fill with primary color) - press Ctrl+C (copy) - open Firefox, open a random reddit post put your cursor into the comment-textbox - press Ctrl+V (paste) - you can see it in the preview image already, the black line is now in the image