Open Bug 1622549 Opened 4 years ago Updated 8 months ago

canvas linear gradient now works on linux but not on windows

Categories

(Core :: Graphics, defect, P3)

74 Branch
defect

Tracking

()

Tracking Status
firefox-esr68 --- wontfix
firefox73 --- wontfix
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- fix-optional

People

(Reporter: dusan.halicky, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file Demo code

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Steps to reproduce:

I want to fill rectangle in HTML canvas using linear gradient from pure black rgba(0,0,0,1) to almost opaque red rgba(255,0,0,0.1). On linux this works but on windows it does not. The gradient is just gray. On chrome it works on both linux and windows so it seems it is not graphical driver issue.

Actual results:

Gray gradient instead of red gradient.

Here is image comparing all browsers: https://ghost.sk/54.png

Expected results:

Gradient should be red.

I can reproduce the issue on Nightly76.0a1 when HWA ebabled, However, I can not when HWA disabled.

Regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=d9515d63a7cf34382ef0f3670084e7b77fa218c0&tochange=f212d89048ecdd6f15006f368322a2d2e156432b

Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Has STR: --- → yes
Component: Untriaged → Graphics
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Regressed by: 1427063

Reproduced on Windows 10 with the latest Nightly, both WebRender enabled and disabled.

Bas, this looks like a regression from your patch for bug 1427063.
It is similar to bug 1509396, but for canvas element. Since the second bug has not changed since 2018, this is probably not urgent. Are there any plans to fix this?

Priority: -- → P3

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: