Closed Bug 1796570 Opened 2 years ago Closed 1 year ago

gfx.color_management.mode should be 2 for GeckoView

Categories

(GeckoView :: General, task, P1)

All
Android

Tracking

(firefox112 wontfix, firefox113 wontfix, firefox114 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
firefox112 --- wontfix
firefox113 --- wontfix
firefox114 --- fixed

People

(Reporter: t.matsuu, Assigned: tthibaud, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [geckoview:m112])

Attachments

(2 files)

With the fix of bug 488800, ICCv4 is enabled on all channels on all OS.
And "gfx.color_management.mode" is set to 2 in modules/libpref/init/StaticPrefList.yaml.

However mobile/android/app/mobile.js overwrites "gfx.color_management.mode" to 0 in which means ICCv4 is off.

This overwrite should be removed.

Blocks: 1500737
Severity: -- → N/A

Is this something that you're going to be working on?

Flags: needinfo?(t.matsuu)

(In reply to Jonathan Almeida [:jonalmeida] from comment #1)

Is this something that you're going to be working on?

No.
If you want to work on, that's great.

Flags: needinfo?(t.matsuu)

This is a one-liner change that someone in our team will pick up during our next sprint planning.

Marking it as a good-first-bug as well in case new contributors are interested in this as well.

Mentor: jonalmeida942
Keywords: good-first-bug
Priority: -- → P2
Whiteboard: [geckoview:m112?]

I'd like to take this one

Assignee: nobody → tthibaud
Attachment #9316727 - Attachment description: WIP: Bug 1796570 - Stop overwritting the value of gfx.color_management.mode on Android → Bug 1796570 - Stop overwritting the value of gfx.color_management.mode on Android r=#geckoview-reviewers
Mentor: jonalmeida942 → calu
Priority: P2 → P1
Whiteboard: [geckoview:m112?] → [geckoview:m112]

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: tthibaud → nobody

not sure this should be unassigned. looks like the only thing pending here is the questions on the patch, adding NI

Assignee: nobody → tthibaud
Flags: needinfo?(jnicol)
Flags: needinfo?(jmuizelaar)
Pushed by tthibaud@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/20b2f1dab9b3
Stop overwritting the value of gfx.color_management.mode on Android r=geckoview-reviewers,calu,jnicol

Thanks Dianna! I finally received the approval I was waiting for, and just landed the patch.

Backout by abutkovits@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5005cca1dd2e
Backed out changeset 20b2f1dab9b3 for causing failures at canvas-display-p3-drawImage-ImageBitmap-Blob.html. CLOSED TREE
Assignee: tthibaud → nobody
Flags: needinfo?(tthibaud)

Thanks Atila Butkovits!

When I took this bug initially I didn't realize it had bigger implications than just changing one line. I don't know the graphics components enough to confidently update the tests and make sure anything was broken. Furthermore, this bug doesn't seem to have a high priority, so I'll unassigned me from this bug.

(In reply to Titouan Thibaud [:tthibaud] from comment #12)

Thanks Atila Butkovits!

When I took this bug initially I didn't realize it had bigger implications than just changing one line. I don't know the graphics components enough to confidently update the tests and make sure anything was broken. Furthermore, this bug doesn't seem to have a high priority, so I'll unassigned me from this bug.

We need to update canvas-display-p3-drawImage-ImageBitmap-Blob.html.ini properly.

Core::GFX: Color Management people may help us.

Flags: needinfo?(jgilbert)
Assignee: nobody → m_kato
Status: NEW → ASSIGNED
Flags: needinfo?(jnicol)
Flags: needinfo?(jmuizelaar)
Flags: needinfo?(jgilbert)
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/c07f950561db
Stop overwritting the value of gfx.color_management.mode on Android r=geckoview-reviewers,calu,jnicol
https://hg.mozilla.org/integration/autoland/rev/9ed30d5056e5
Part 2. Update WPT results after gfx.color_management.mode=2. r=gfx-reviewers,jnicol
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch

Makoto, I see some WPT tests that had been failing on Android are now passing. Do you think we should uplift this pref change to Beta 113? Does this change improve the user experience for real web pages or just WPT corner cases? How risky is this change?

Flags: needinfo?(m_kato)

(In reply to Chris Peterson [:cpeterson] from comment #17)

Makoto, I see some WPT tests that had been failing on Android are now passing. Do you think we should uplift this pref change to Beta 113? Does this change improve the user experience for real web pages or just WPT corner cases? How risky is this change?

I don't think that this is risky. WPT failures are color management tests. So it depends on gfx.color_management.mode preferences. This fix improves color management of JPEG image etc in web pages.

But I don't think that this should be uplifted. This fix is new feature issue for GeckoView, so we need something feedback for this change.

Flags: needinfo?(m_kato)
Assignee: m_kato → tthibaud
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: