Closed Bug 1806525 Opened 1 year ago Closed 1 year ago

Unable to view jpegxl images when setting image.jxl.enabled = true in about:config

Categories

(Core :: Graphics: ImageLib, defect)

Firefox 108
Desktop
All
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: jandatroy, Unassigned)

References

Details

Attachments

(2 files)

Attached image jxlerror.PNG

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

Steps to reproduce:

a) I set the pref image.jxl.enabled = true with current profile. Did not work

  1. I started Firefox with a fresh profile
  2. no addons or other changed settings
  3. enabled only image.jxl.enabled = true
  4. visited https://jpegxl.info/test-page/

Actual results:

unable to view the jxl images

Expected results:

been able to view the jxl images on the tst site with the above pref set to true in Firefox 108.0.1

Other note is that with the same pref set to enable on nightly I am able to see the jxl images

The Bugbug bot thinks this bug should belong to the 'Toolkit::Add-ons Manager' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Add-ons Manager
Product: Firefox → Toolkit

its not an addone bugbot

Attached image jxlerror.PNG

Cound Firefox be mistakenly mixing up the type.

Summary: Unable to view jpegxl when setting in about:config set to true → Unable to view jpegxl images when setting image.jxl.enabled = true in about:config

As mentioned in Bug 1539075 Comment 51:

Setting image.jxl.enabled to true has no effect on stable version, because from toolkit/moz.configure, JXL support is enabled only for Nightly builds.

Therefore, Firefox stable builds do not link to libjxl - even though you can find image.jxl.enabled in about:config, it does nothing on stable.

However, /u/antyhrabia on Reddit claims that [1], despite using the stable (108.0.1) Firefox binary built by Arch Linux [2], he can view JPEG XL images after enabling image.jxl.enabled in about:config.
In addition, according to this list [3], there is no Shield Studies related to JPEG XL.

[1] https://old.reddit.com/r/jpegxl/comments/zpynur/in_firefox_1080_stable_i_enabled_jpegxl_jxl_in/
[2] https://old.reddit.com/r/jpegxl/comments/zpynur/in_firefox_1080_stable_i_enabled_jpegxl_jxl_in/j0x45b1/
[3] https://www.jeffersonscher.com/sumo/shield.php

Hello,

Seeing how add-ons are not involved in the occurrence of this issue, I will change the product and component of the report to a more suitable one.

In case of error, please revert the changes. Thank you !

Component: Add-ons Manager → General
Product: Toolkit → Firefox
Component: General → Untriaged

Can confirm the build of Firefox in Debian sid also doesn't display JXL when the flag is enabled.

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0

Hi,

I am able to reproduce the issue in release 108, beta 109 but not on the latest nightly 110.0a1 (2023-01-10) on Windows 10. Also, I can reproduce it in 102.6.0esr.

Thanks for your input.

Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Untriaged → Graphics: ImageLib
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → Desktop
See Also: → JPEG-XL

jpegxl is only compiled in on nightly. the pref has no effect on beta or release.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: