Closed Bug 1379405 Opened 7 years ago Closed 4 years ago

Can not dynamically modify the theme color

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect)

56 Branch
Unspecified
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: 709922234, Unassigned)

References

()

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3150.0 Safari/537.36 Steps to reproduce: 1. open https://xianqiao.wang/test/theme-color/ 2. add to home screen 3. open from home screen 4. click button modify <meta> element * mobile firefox config: `manifest.install.enabled: true` Actual results: status bar color not change Expected results: status bar color should be changed
Blocks: 1285858
Component: Untriaged → Web Apps
OS: Unspecified → Android
Product: Firefox → Firefox for Android
The theme color for standalone apps comes form the manifest, not meta tag.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #2) > The theme color for standalone apps comes form the manifest, not meta tag. https://w3c.github.io/manifest/#theme_color-member > However, a document may override the default theme color through the inclusion of a valid [HTML] meta element whose name attribute is "theme-color".
Flags: needinfo?(snorp)
(In reply to 709922234 from comment #3) > (In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #2) > > The theme color for standalone apps comes form the manifest, not meta tag. > > https://w3c.github.io/manifest/#theme_color-member > > > However, a document may override the default theme color through the inclusion of a valid [HTML] meta element whose name attribute is "theme-color". I stand corrected!
Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(snorp)
Resolution: INVALID → ---
In which case...
Status: REOPENED → RESOLVED
Closed: 7 years ago6 years ago
Resolution: --- → DUPLICATE
Although this is standalone UI, so hmm - sorry for the noise.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---

google photos PWA for desktop used this function.

  • Normally, theme color is white
  • View image, theme color is black

BTW, Firefox does not support desktop PWA.

Examples of dynamic theme color

We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: REOPENED → RESOLVED
Closed: 6 years ago4 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: