Moerill / fvtt-pointer

MIT License
6 stars 16 forks source link

[BUG] Foundry's interface stop responding after trying to reassign keybindings in v9 #33

Open lektu opened 2 years ago

lektu commented 2 years ago

Reassigning keys in V9 hangs FoundryVTT

Describe the bug After installing this module, when I try to reassign the keys for Pointer and Click, Foundry VTT stops responding, to the point that I have to forcefully close it. What stops responding is the interface. If I happen to have the Dev Tools open (via F12) before FoundryVTT hangs, the Dev Tools are operable (but no error is shown in the console).

This happens on an almost empty Alien RPG world, and with no other modules enabled.

To Reproduce

  1. Enable PnP - Pointers and Pings! in some game world.
  2. Click Configure Settings.
  3. Click Module Settings.
  4. Search the PnP options and click on Settings and Design Studio.
  5. Click on General.
  6. Click on the input box for Pointer and type P.
  7. Click on the input box for Ping and type G.
  8. It should've hanged by now. If not, repeat steps 6 and 7 a few times with different keys.

Expected behavior Keybindings changed and FoundryVTT responsive.

Desktop (please complete the following information):