mclemente / fvtt-module-polyglot

Talk to others using a language you can speak and scrambles text you can't understand.
MIT License
41 stars 48 forks source link

Font Settings Not Saving Correctly #315

Closed fekfekfek closed 1 year ago

fekfekfek commented 1 year ago

Describe the bug Some Font Settings do not save at all, others save but do not seem to have an effect on behavior.

Specifically:

To Reproduce Steps to reproduce the behavior:

  1. Open Font Settings menu
  2. Modify a font's size
  3. Toggle a font's "Only Alphabetic" setting to true
  4. Save Changes

Expected behavior Font is displayed at appropriate size, and only alphabetic characters are used.

Font Settings menu shows the saved value, upon reopening.

Actual behavior Chat messages do not obey the font size or "only alphabetic" setting as saved.

When reopening the Font Settings menu, the value for "only alphabetic" appears to be the correct, saved value. The "font size" value has reverted to the default, 100.

Screenshots 1 2 3

Additional context Recently updated from Foundry v10 and the latest available compatible version of Polyglot for v10. Possibly related to old settings stuck in settings.db, but there's no way to wipe them.

Notably, immediately after upgrading, many of the Polyglot settings menus were bugged/empty, and wouldn't display anything until I used the Reset Default buttons. Even after Resetting Defaults in all polyglot menus, however, this bug persists.