PNG-format Images copied from my Firefox browser duplicate when pasted in the desktop version of the Discord app
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
People
(Reporter: rrubinski, Unassigned, NeedInfo)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0
Steps to reproduce:
open the Firefox browser, open any image that has a PNG format, right click and press "Copy Image" then head over to your desktop-version of Discord; press control + V and two instances of the image pop up instead of one
Actual results:
two instances of the image are pasted instead of one
Expected results:
only one instance of the image should be pasted rather than two.
the issue does not happen with these other formats that I've tested; JPG/JPEG, WEBP; only PNG seems to suffer.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Images, Video, and HTML Frames' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:emilio, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Cannot reproduce this bug with JPEG file...
When I copy JPEG file the data formats in the clipboard are:
- HTML Format
- List of Files
- Bitmap DIBV5
- Bitmap DIB
- Bitmap
- DataObject
- text/html
- text/_moz_htmlinfo
- text/_moz_htmlcontext
- application/x-moz-file-promise-url
- application/x-moz-file-promise-dest-filename
- Preferred DropEffect
- application/x-moz-nativeimage
- Ole Private Data
When I copy PNG file:
- HTML Format
- List of Files
- Bitmap DIBV5
- Bitmap DIB
- Bitmap
- DataObject
- text/html
- text/_moz_htmlinfo
- text/_moz_htmlcontext
- application/x-moz-file-promise-url
- application/x-moz-file-promise-dest-filename
- Preferred DropEffect
- application/x-moz-nativeimage
- Ole Private Data
So I don't see any problem in the PNG copy. Perhaps, this is just a Discord App's bug. Although this is not a bug of web-site, but Discord also has web UI (not problem in the web UI). So I think that we should ask Discord if we have a connection.
Comment 4•1 year ago
|
||
I'm working on Bug 460969 so I've been working on implementing PNG support for copy and paste and drag and drop, so this seems like part of the same suite of web compatibility issues I'm working on, I'm curious how to view that list of data formats on the clipboard?
Comment 5•1 year ago
|
||
We appreciate your report. I was not able to reproduce the issue. The image gets pasted as expected. If anyone else or the reporter can reproduce the issue, I will gladly re-open the issue and will re-investigate.
Tested with:
Browser / Version: Firefox Nightly 111.0a1 (2023-01-31) (64-bit)
Suggestion: Try clearing cache/data/cookies, disabling add-ons and Ad-blocker (if available) and extensions or use a clean profile, and check again? If there are any changes made to the default settings of the browser (e.g. in about:config
) please revert to the default settings and try again. Also, have the required cookies been accepted for this page?
Description
•