Closed Bug 1594828 Opened 5 years ago Closed 2 years ago

Reader mode should change to dark theme automatically like Safari

Categories

(Toolkit :: Reader Mode, enhancement)

70 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: sheelgautam995, Assigned: kabakert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Actual results:

When system changes to dark theme, Firefox changes to dark theme as well. Reader mode requires manually changing theme. It creates a flash of white light.

Expected results:

It should work like Safari. Safari automatically changes the default theme of Reader mode to dark.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Reader Mode
Product: Firefox → Toolkit

Firefox changes to dark theme automatically with MacOS. Reader mode should open with dark theme when its activated while Firefox is in dark mode. Otherwise it will create a light flash which defeats the purpose of dark mode. Currently, it opens in whatever theme the user has set it to.

I agree. Using Firefox 73 on Fedora 31 with dark Gnome theme ($ gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
) I expect reader mode to default to dark theme.

Assignee: nobody → kabakert
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by mtigley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6688f6cc420b
Changed Reader Mode color scheme preference to be based off of browser content theme. r=mtigley,niklas
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

Looks like this could be added to the release notes for Fx99.
Could you provide the following info?
[Affects Firefox for Android]:
[Suggested wording]:
[Links (documentation, blog post, etc)]:

Flags: needinfo?(kabakert)

[Affects Firefox for Android]: (In reply to Donal Meehan [:dmeehan] from comment #8)

Looks like this could be added to the release notes for Fx99.
Could you provide the following info?

[Affects Firefox for Android]: Yes, however the user would need to manually set the 'reader.color_scheme' pref from the app itself, since we don't show the toolbar on android.
[Suggested wording]: 'Auto' is now offered as a fourth color scheme option in the Reader Mode toolbar, which allows the user to sync their Reader Mode color scheme preference with the browser's color scheme preference (light mode vs dark mode). This is currently hidden behind the new 'reader.improvements_H12022.enabled' pref, so users will need to flip/enable this pref if they want to use it.
[Links (documentation, blog post, etc)]: None

Flags: needinfo?(kabakert)

(In reply to kabakert from comment #9)

[Affects Firefox for Android]: (In reply to Donal Meehan [:dmeehan] from comment #8)

Looks like this could be added to the release notes for Fx99.
Could you provide the following info?

[Affects Firefox for Android]: Yes, however the user would need to manually set the 'reader.color_scheme' pref from the app itself, since we don't show the toolbar on android.
[Suggested wording]: 'Auto' is now offered as a fourth color scheme option in the Reader Mode toolbar, which allows the user to sync their Reader Mode color scheme preference with the browser's color scheme preference (light mode vs dark mode). This is currently hidden behind the new 'reader.improvements_H12022.enabled' pref, so users will need to flip/enable this pref if they want to use it.
[Links (documentation, blog post, etc)]: None

Thanks for the clarification this is behind a reader.improvements_H12022.enabled' pref and is disabled by default. I should have noticed before requesting release note information.
Will hold back on adding a release note until it's enabled by default.

I've found a bug with this, but it's kind of a heisenbug; I'm not certain what triggers it, only that it does happen fairly regularly: bug #1766244

See Also: → 1766244
Duplicate of this bug: 1624141
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: