Closed Bug 1247034 Opened 9 years ago Closed 9 years ago

Black and white bitmap renders upside down

Categories

(Core :: Graphics: ImageLib, defect)

43 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox44 - wontfix
firefox45 --- fixed
firefox46 --- fixed
firefox47 --- fixed
firefox-esr38 --- unaffected
firefox-esr45 --- affected

People

(Reporter: balage78, Unassigned)

References

Details

(Keywords: regression, Whiteboard: gfx-noted)

Attachments

(2 files)

Attached image QVHighResImage.bmp
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; Touch; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0; McAfee; rv:11.0) like Gecko Steps to reproduce: Load black and white bitmap in FireFox (file drag an drop or when served over HTTP) (tested on 44 and 44.0.1 on Win 10; did not happen on Chrome, IE11, Opera, Safari or FireFox on OSX) Actual results: Bitmap loads and displays, but the image is flipped upside down Expected results: Bitmap load, display right side up
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Attached file QVHighResImage.z_p
my uploaded bitmap was not exhibiting the same behavior so I'm attaching the original bitmap image as a zip file
Status: UNCONFIRMED → NEW
Component: Untriaged → ImageLib
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
I can reproduce on Mac OS 10.11 with the (zip) testcase.
OS: Windows 10 → All
Hardware: x86_64 → All
[Tracking Requested - why for this release]: Regression in BMP rendering starting with Firefox 43. mozilla-central =============== Last good revision: 01ae99b53561a2c3b40533d8c1c92bd3efc42d00 (2015-09-09) First bad revision: dd2a1d737a64d9a3f23714ec5cc623ec8933b51f (2015-09-10) Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=01ae99b53561a2c3b40533d8c1c92bd3efc42d00&tochange=dd2a1d737a64d9a3f23714ec5cc623ec8933b51f mozilla-inbound =============== Last good revision: f088e6dbb1ba6f27e0fb6bd42ba090b464d3a5df First bad revision: c9a6d9c234181121b667aea4087680fdbd254ba8 Pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=f088e6dbb1ba6f27e0fb6bd42ba090b464d3a5df&tochange=c9a6d9c234181121b667aea4087680fdbd254ba8 Blame: Bug 1062066 - Add downscale-during-decode support for the BMP decoder (Seth Fowler)
Seth, can you please look in to this?
Flags: needinfo?(seth)
Whiteboard: gfx-noted
I dug around a bit and it turns out this test image has a negative height (of the correct magnitude) specified in the header.
While this is a valid issue, does not seem critical enough to warrant (inclusion in) a dot release. Wontfix for Fx44.
Fixed by bug 1249550 ?
Flags: needinfo?(balage78)
I cannot reproduce this on Nightly. I strongly suspect this was indeed fixed by bug 1249550. I'm going to resolve this; please reopen if someone can reproduce again in Firefox 47 or later.
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1249550
Flags: needinfo?(seth)
Flags: needinfo?(balage78)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: