Fix Gecko handling of alpha channel in BMP images on clipboard
Categories
(Core :: Widget: Win32, defect, P2)
Tracking
()
People
(Reporter: ahale, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This bug tracks part of the work on Bug 460969 - fixing the clipboard bitmap and BMP file handling of alpha channel.
Reporter | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•1 year ago
|
||
What's the status of this bug? It's marked as S2 but seems to have stalled?
Comment 4•1 year ago
|
||
I think the status is "waiting for updates based on review comments".
Reporter | ||
Comment 5•1 year ago
|
||
I got stuck on how to implement reftests for this - we have no test functionality that I am aware of for inter-app compatibility of clipboard copy/paste, so it's kind of a heavy lift to figure out how to add that functionality as I'm not familiar with the Gecko code in general (my focus is on WebRender - fixing this bug is more of a pet-peeve thing I did to learn my way around the code).
So I am not really sure how to proceed on this other than pushing it to Nightly and seeing if anyone complains, which isn't a great position to be in, but we really don't have any test infra I am aware of for this.
Comment 6•1 year ago
|
||
(In reply to Ashley Hale [:ahale] from comment #5)
So I am not really sure how to proceed on this other than pushing it to Nightly and seeing if anyone complains, which isn't a great position to be in, but we really don't have any test infra I am aware of for this.
That's a pretty typical approach to os integration bugs in Widget. We'll get bug reports if something major breaks, especially on Windows.
Comment 7•1 year ago
|
||
I posted a comment to the phab review for suggestions for how to get his unstuck.
(In reply to Ashley Hale [:ahale] from comment #5)
I got stuck on how to implement reftests for this - we have no test functionality that I am aware of for inter-app compatibility of clipboard copy/paste, so it's kind of a heavy lift to figure out how to add that functionality as I'm not familiar with the Gecko code in general (my focus is on WebRender - fixing this bug is more of a pet-peeve thing I did to learn my way around the code).
The request for testing in the review was not for testing of the clipboard code, but of the bmp encoder changes. We already have good testing infrastructure for testing image encoders in the file https://searchfox.org/mozilla-central/source/image/test/reftest/encoders-lossless/reftest.list and adding a testcase to cover this case should be straight forward.
Comment 8•1 year ago
|
||
(There is some update from :tnikkel and :ahale already)
Updated•7 months ago
|
Description
•