stoically / temporary-containers

Firefox Add-on that lets you open automatically managed disposable containers
https://addons.mozilla.org/firefox/addon/temporary-containers/
MIT License
852 stars 60 forks source link

Settings view does not show current configuration #339

Closed c7hm4r closed 4 years ago

c7hm4r commented 4 years ago

Actual behavior

Previous configuration is not loaded in settings view. I.e., e.g. automatic mode is active but unchecked in the settings view.

Expected behavior

Current configuration is consistent with the settings view.

Steps to reproduce

  1. Create new profile, install TC
  2. Open TC settings
  3. Check automatic mode
  4. Close TC settings
  5. Open new tab → automatic mode works
  6. Open TC settings

Notices

Operating system: Fedora 31

stoically commented 4 years ago

Unfortunately can't reproduce. Could you check the Developer Tools console (Ctrl+Shift+I) and see if it logs any errors on the preference page?

c7hm4r commented 4 years ago

In a newly created profile that I used to check the reproduction steps, I had a settings tab open, and I saw a message about some problems with fonts in the error console. Unfortunately, I reloaded the tabs and I am not able to reproduce this error message anymore. Except that, there were and are no error messages. The problem with the settings view is still present, though.

c7hm4r commented 4 years ago

My operating system: Fedora 31

stoically commented 4 years ago

That's interesting. The preferences page loads the storage directly using the Firefox API, and if it would fail to do so, there would be an error (both in the UI and the console). So it seems that for some reason the storage isn't actually persisted. If you restart the profile (close the window running the profile and launch it again) is the Automatic Mode still active?

c7hm4r commented 4 years ago

No, it’s not active after profile restart.

stoically commented 4 years ago

In this case I would need a debug log. ("Reproducing the issue" in this case is just ticking the checkbox after opening the preferences page)

c7hm4r commented 4 years ago

The debug log: temporary_containers.log

c7hm4r commented 4 years ago
ConstraintError: A mutation operation in the transaction failed because a constraint was not satisfied. ExtensionStorageIDB.jsm:812

was colored red.

c7hm4r commented 4 years ago

This could be a Fedora issue: https://bugzilla.redhat.com/show_bug.cgi?id=1779570

stoically commented 4 years ago

Yep, looks like the Fedora FF71 binary is broken. Might want to downgrade or something. :)

c7hm4r commented 4 years ago

I cannot reproduce this with the upstream Firefox 71.0.