You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
The F2 shortcut to rename the selected file is enabled while a context menu is "open"
Right click in either the editor or the JSTree to invoke a context menu
Press F2
==> Selected file goes into rename mode but the context menu is still "open"
Shortcuts shouldn't really work while context menus are displayed but this isn't what brackets does normally. Brackets allows for the shortcut to be processed in most cases.
Pressing F3, for instance, will close the menu and invoke the find next. My guess is that pressing F2 should close whatever context menu is currently displayed.
The text was updated successfully, but these errors were encountered:
@JeffryBooher, the fix for #4693 doesn't work for this issue though. My fix forces the rename to finish if the user right clicks on a file currently in renaming mode. But it doesn't do anything about putting the file into rename mode after the context menu is shown.
You make an interesting point about the shortcut keys working when a context menu is being shown. I tested this on several Windows programs, including Sublime, Notepad, and PSPad, and all of them keep shortcut keys from working when a context menu is being shown.
So, I agree with you, the expected behavior for this issue is a blocking of shortcut key behavior when a context menu is being shown.
The F2 shortcut to rename the selected file is enabled while a context menu is "open"
==> Selected file goes into rename mode but the context menu is still "open"
Shortcuts shouldn't really work while context menus are displayed but this isn't what brackets does normally. Brackets allows for the shortcut to be processed in most cases.
Pressing F3, for instance, will close the menu and invoke the find next. My guess is that pressing F2 should close whatever context menu is currently displayed.
The text was updated successfully, but these errors were encountered: