LSS-Manager/LSSM-V.4

[BUG]: false positive uniqueness check in hotkeys setting due to special requirements

Closed this issue · 0 comments

What happened?

LSSM does not allow users to assign the same hotkey to multiple actions, although they aren't executed in the same browser context

How to reproduce?

  1. Enable hotkeys module
  2. in settings, set a hotkey for an action in the mission window
  3. try to set a hotkey for an action on the main window with the same hotkey as above. LSSM will not allow to do so (see Screenshot):
    grafik

Expected behavior

LSSM should allow setting the same hotkey for multiple actions, if they don't overlap.

System

  • OS: any
  • Browser and version: any
  • LSSM-Version: latest (4.6.2)
  • Game-Version: any

Additional

The first scope of an action name identifies the location (window.location) where an action can be executed. The same hotkey may not be set on multiple actions sharing this part of the scope.
Cave: * identifies "all locations"