Skip to content
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.

"Enable Adaptive" option not updating in time with changes #6

Open
@spikespaz

Description

When toggling the Enable Adaptive option in the options page, the browser theme does not update with the changes / does not update the view as the option is bring clicked.

This is a bug within the browser, as the form elements #accent-color and #enable-adaptive use the same form name accentColor. When the value of the checkbox changes, the value from the FormData() object should reflect the value of the #accent-color property. However, it appears that the browser is not including this value in the FormData() object until the accent color is updated.

This thesis is supported by the following debug output, that is printed to console after each form update.

Object { toolbarOpacity: "25", omnibarOpacity: "50", highlightColor: "#0078d7", unfocusedTheme: "fade", highlightBorders: false, bottomSeparator: false }  options.js:36:5
Object { accentColor: "-moz-win-accentcolor", toolbarOpacity: "25", omnibarOpacity: "50", highlightColor: "#0078d7", unfocusedTheme: "fade", highlightBorders: false, bottomSeparator: false }  options.js:36:5
Object { toolbarOpacity: "25", omnibarOpacity: "50", highlightColor: "#0078d7", unfocusedTheme: "fade", highlightBorders: false, bottomSeparator: false }  options.js:36:5

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needednot my bugMozilla's faultwontfixThis will not be worked on

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions