Open Bug 1805330 Opened 2 years ago Updated 7 months ago

Fix Gecko handling of alpha channel in BMP images on clipboard

Categories

(Core :: Widget: Win32, defect, P2)

x86
Windows
defect

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.

Version: 1.9.0 Branch → unspecified
Attachment #9307945 - Attachment description: Bug 1805330 - Fix clipboard and file BMP alpha channel handling → Bug 1805330 - Fix clipboard handling of transparent BMP images
Priority: -- → P2
Attachment #9307945 - Attachment description: Bug 1805330 - Fix clipboard handling of transparent BMP images → WIP: Bug 1805330 - Fix clipboard handling of transparent BMP images
Attachment #9307945 - Attachment description: WIP: Bug 1805330 - Fix clipboard handling of transparent BMP images → Bug 1805330 - Fix clipboard handling of transparent BMP images

What's the status of this bug? It's marked as S2 but seems to have stalled?

Flags: needinfo?(ahale)

Edgar, do you know the status for this?

Flags: needinfo?(echen)

I think the status is "waiting for updates based on review comments".

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.

Flags: needinfo?(ahale)

(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.

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.

(There is some update from :tnikkel and :ahale already)

Flags: needinfo?(echen)
Assignee: ahale → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: