Skip to content

Settings display incorrectly on first open #1669

Closed
@corobin

Description

@corobin

Prerequisites

I tried to reproduce the issue when...

  • uBO is the only extension
  • uBO with default lists/settings
  • using a new, unmodified browser profile

Description

On Android Firefox, when opening the uB0 settings page for the 1st time after not recently opening it, on first load it shows the default settings instead of the user-configured settings. It displays the correct settings upon refreshing the page.

A specific URL where the issue occurs

not a web page issue

Steps to Reproduce

  1. launch Firefox
  2. Kebab menu -> "Add-ons"
  3. press uB0 item (if uB0 is not already installed, install it)
  4. "Settings"
  5. you should now be on the uB0 settings page on the "Settings" tab
  6. change the settings, for this example: uncheck every checkbox
  7. exit Firefox
  8. restart phone (I do not think that this is required, but I found this is the most reliable way to reproduce the issue quickly)
  9. repeat steps 1-4

Expected behavior

it should display the settings page showing the user's configuration

e.g. no boxes checked

Actual behavior

it shows the default settings configuration

e.g. the default boxes checked

And then, if you now refresh the page, it will now show the user's configuration

uBlock Origin version

reproduced on 1.37 (and also 1.36.x versions that i can remember)

Browser name and version

Firefox 90.1.2

Operating System and version

tested on both Android 11 and Android 9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions