maptool icon indicating copy to clipboard operation
maptool copied to clipboard

[Bug]: MapTool Captures the Function (F#) Keys But Doesn't Use Them

Open StowGnar opened this issue 2 years ago • 7 comments

Describe the Bug

I am able to use keyboard shortcuts I've created bound to the F keys (including the "hidden" F keys 13 through 24) in every situation except for when MapTool is the focused window. I am unaware if MapTool uses any of the Function keys for anything currently.

To Reproduce

  1. Using an outside program, assign a keybind using the F1-24 keys. (In my case, I was using VoiceMod/LoupeDeck with scripts running the hidden function keys, F13-F24.)
  2. Test that the keybind behaves as intended before opening MapTool.
  3. Open Maptool and attempt to use keybind.

Expected Behaviour

Keyboard shortcuts that aren't in use for the program, especially the F13-24 keys, should be allowed to "escape" the window in order to help the GM with outside functions.

Screenshots

No response

MapTool Info

1.11.2

Desktop

Windows 10

Additional Context

No response

StowGnar avatar Dec 13 '21 06:12 StowGnar

While I'm thinking of it: keyboard combinations such as CTRL+ or ALT+ and the function keys should also be allowed to escape the window.

StowGnar avatar Dec 15 '21 03:12 StowGnar

Just FYI, F1 to F12 are available to the user to configure as macro hotkeys (also with modal keys). It's in the Edit Macro window, Properties tab. Still, MapTool only uses them conditionally (if the user configures them so), and F13+ are not used at all afaik.

Gnomasz avatar Dec 15 '21 19:12 Gnomasz

Ah, okay. I've never used macro hotkeys before, but I will now. Still, I exclusively use the F13+ keys for my streaming shortcuts out of program, and they are definitely being captured and prevented from running by MapTool.

StowGnar avatar Dec 17 '21 03:12 StowGnar

Update: My F13-F24 keys are still getting captured by MapTool specifically. They work everywhere except when MapTool is focused.

StowGnar avatar Dec 26 '21 07:12 StowGnar

Have the F13+ keys ever worked the way you’ve wanted? For example, if you go back to v1.8, do they work there? If they’ve ever worked, it can be easier to track down the change that broke them.

Azhrei avatar Dec 26 '21 15:12 Azhrei

My apologies for not being able to respond/test sooner. The addition of the F13+ keys to my setup was rather recent, long after I first started experimenting with MT around ~v1.8, and I unfortunately only started "rehearsing" my campaign with my soundboard F13+ macros within the current v1.11.x series where I've noticed they don't escape the window.

I have a project about to debut that'll need me to keep v1.11.4 installed over the next few days, but this weekend I should be able to backup my settings, uninstall, and then use an old v1.8.4 installer I still have on my computer to test out the version difference. I appreciate the help!

StowGnar avatar Dec 30 '21 05:12 StowGnar

It took a little longer than expected, but I can now report that none of my shortcuts escape MapTool 1.8.4. Not only does anything involving the F13+ keys not escape the MapTool window, but my more "normal" shortcuts such as ALT+SHIFT+F6 or CTRL+ALT+SHIFT+X are also not going off anytime I have the window open. I will reinstall 1.11.4 soon to see if the latter issue of regular shortcuts not escaping persists.

StowGnar avatar Jan 04 '22 16:01 StowGnar