vigoren / foundryvtt-simple-calendar

A simple calendar module for the FoundryVTT system
https://simplecalendar.info/
MIT License
46 stars 34 forks source link

[BUG] Open On Load setting not persistant on remote clients #488

Open Zakkon opened 1 year ago

Zakkon commented 1 year ago

Describe the bug Upon connecting to the Foundry server, remote clients accessing the server (through a browser) are met with the calendar opening by itself. Entering the configuration menu and turning 'Open On Load' to false will not stop this behavior, as that setting does not persist between sessions of play.

To Reproduce Steps to reproduce the behavior:

  1. Host starts Foundry VTT server
  2. Remote client logs on to the server, calendar auto-opens
  3. Remote client turns off 'Open On Load'
  4. Remote client closes their browser
  5. Host closes the server
  6. Host restarts the server again
  7. Remote client logs on to the server, calendar auto-opens. 'Open On Load' can be found set to 'On' in the configuration menu.

Expected behavior The Open on Load setting should persist between sessions, so that a user accessing the server remotely doesn't have the calendar auto-open on load every time.

Screenshots image

Foundry Information

Browser (please complete the following information):

Additional context As the host of the server, I can confirm all my remote players have this issue.

Zakkon commented 1 year ago

Having some trouble locating the source of the bug. Even changing the default values of 'openOnLoad' to 'false' doesn't seem to solve the issue. Suggesting a hasty but effective solution in #489