named colors are color managed differently, depending on layerization & other factors (With gfx.color_management.mode = 1)
Categories
(Core :: Graphics: Color Management, defect, P3)
Tracking
()
People
(Reporter: dholbert, Assigned: aosmond)
References
(Blocks 2 open bugs)
Details
Attachments
(5 files)
STR:
- Set about:config pref
gfx.color_management.mode
to1
, and restart Firefox. - Load attached testcase
EXPECTED RESULTS:
Each row should be a consistent solid color, all the way across.
ACTUAL RESULTS:
In each row, swatches A and C are a different color than the rest of the swatches.
I think swatches A and C are the only ones that we're drawing with color management. They seem to match the color that Chrome uses for the whole row. The other swatches look brighter in Firefox as compared to Chrome (on my machine at least). So I think all of those other swatches (columns B, D, E, F) are being drawn with the wrong coloring.
NOTES:
The testcase (testcase 1) exercises 6 different conditions per row:
A) background: [named color]
B) ...with "will-change: transform"
C) ...and with a transparent "border-left" (this makes a difference, for some reason!)
D) background: linear-gradient([named color], [that same named color])
E) ...with "will-change: transform"
F) ...and with a transparent "border-left"
(Note: I suspect this bug is the underlying issue behind bug 1569411; I'm spinning this bug off as a new bug, though, because I'm not sure whether there are additional factors there, and because that bug took a bit of a journey before arriving at the color management pref as a possible factor.)
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
Interestingly: if I change the testcase to trigger layerization using an actual transform (transform: rotate(1deg)
) instead of will-change:transform
, then swatch B changes to match A and C (i.e. to match the correct rendering, I think).
Here's a testcase with that change.
Reporter | ||
Comment 3•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 4•5 years ago
|
||
ni=aosmond to weigh in on whether this bug should block the pref-flip in bug 455077 (at least, that pref flip hitting release)
I suspect it may want to block, since it may mean hover/animation effects may trigger unexpected color changes, e.g. in bug 1569411...
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
For basic, I appear to have fixed (for my color profile) this for Basic compositor on Linux. However it is still the same with WebRender.
Assignee | ||
Comment 7•5 years ago
|
||
Fixed with bug 1618345 I mean.
Assignee | ||
Comment 8•5 years ago
|
||
Ah this is because it manually copies the values into the structure. Ugh. I will fix this and add the test case to the reftests.
Assignee | ||
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
bugherder |
Comment 12•5 years ago
|
||
The patch landed in nightly and beta is affected.
:aosmond, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Reporter | ||
Comment 14•5 years ago
|
||
Verified fixed in Nightly 76.0a1 (2020-03-12) (64-bit) on Ubuntu 19.10, using the testcases here and the codepen from dupe bug 1569411 comment 9, in a profile with gfx.color_management.mode = 1.
Reporter | ||
Updated•5 years ago
|
Description
•