maptool icon indicating copy to clipboard operation
maptool copied to clipboard

[Bug]: MapTool Menu > Edit macro code editor keyboard shortcuts Ctrl+F, Ctrl+H, Ctrl+L do not work

Open Baaaaaz opened this issue 1 year ago • 1 comments

Describe the Bug

When you have a macro editor window open, some new options appear in the main MapTool menu under "Edit" menu item with the following keyboard shortcuts:

Edit > Find...		Ctrl+F
Edit > Replace...	Ctrl+H
Edit > Goto Line...	Ctrl+L
Show Find Search Bar	Shift+Ctrl+F
Show Replace Search Bar	Shift+Ctrl+H

When the macro editor window has focus Ctrl+F, Ctrl+H, Ctrl+L do not seem to work, where as Shift+Ctrl+F and Shift+Ctrl+H do.

Note, the keyboard shortcuts Ctrl+F, Ctrl+H, Ctrl+L do seem to work for the macro editor window but only when the Edit menu has been expanded, which seems a usability oddity/bug.

To Reproduce

Open the macro editor editor for a macro. Press Ctrl+F, Ctrl+H, or Ctrl+L and see nothing happens. Compare to clicking the respective MapTool Edit menu item.

Expected Behaviour

The keyboard shortcuts should replicate the menu item behaviour to which they are assigned. Or do not have keyboard shortcuts displayed in the menu if they do nothing.

Screenshots

image

MapTool Info

1.13.2, 1.14.3, 1.15.0-rc.3

Desktop

Windows

Additional Context

No response

Baaaaaz avatar Apr 21 '24 21:04 Baaaaaz

I'm going to pimp one of my old feature requests here for anyone that takes this on to consider: https://github.com/RPTools/maptool/issues/3306

FullBleed avatar Apr 22 '24 07:04 FullBleed