nabijaczleweli / tackup

Continuously back up your browser tabs
MIT License
4 stars 1 forks source link

0.3.0: "Don't duplicate the freshest backup" will not stay checked #8

Closed ghost closed 4 years ago

ghost commented 4 years ago

If the preferences page is refreshed, the box will become unchecked once again.

Also occasionally the extension will stop working after the config has been saved for some reason, sadly I can't provide more info as I can't reliably reproduce it, and I didn't see any errors in console, either.

Edit: it appears that the extension simply didn't apply the new config immediately, so if I set a long interval (i.e. 10 minutes), save, and then change it to 2 seconds, it'll wait for 10 minutes and then switch the interval to 2 seconds.

nabijaczleweli commented 4 years ago

Hmm, the config should be saved and able to be seen immediately – can you open the debug/browser console and see if you get a "Config set!" or a "Configuration setting error" message when clicking Save?

As for the timing: yes, that's unfortunately an issue I haven't come up with a good solution to, the saving thread has no way of knowing that there was a new delay applied until it saves and reads the config again.

ghost commented 4 years ago

"Config set!" was printed to the console after clicking Save, and then the box will become unchecked once again after refreshing about:addons. The bit was actually still set as I can see the duplicates being ignored in the log.

nabijaczleweli commented 4 years ago

Ah yeah, I used the wrong member on the checkbox lol, will release fix shortly, and thanks for the report!

ghost commented 4 years ago

👌 thanks for the fix

nabijaczleweli commented 4 years ago

Released in v0.4.0