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
I'm using the Projects/Files views in a separate floating window. Up to NetBeans 15, when invoking an action from the menu (such as Team > Commit), the context of the action was determined from where the keyboard focus was. If the keyboard focus was on the editor in the main window, the action would be applied to the current file. When the keyboard focus was on a node in the Projects or Files tree, the action would be applied to that node.
Now in NetBeans 16, the action seems to be always applied to the current file in the editor, even if the keyboard focus is in the Projects or Files tree (in the separate floating window).
I suspect that maybe #4603 broke the previous behavior.
How to reproduce
No response
Did this work correctly in an earlier version?
Apache NetBeans 15
Operating System
Windows 10
JDK
JDK 11
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered:
nmatt
changed the title
Actions invoked from floating Projects/Files use wrong context
Menu actions invoked from floating Projects/Files use wrong context
Dec 9, 2022
Apache NetBeans version
Apache NetBeans 16 release candidate
What happened
I'm using the Projects/Files views in a separate floating window. Up to NetBeans 15, when invoking an action from the menu (such as Team > Commit), the context of the action was determined from where the keyboard focus was. If the keyboard focus was on the editor in the main window, the action would be applied to the current file. When the keyboard focus was on a node in the Projects or Files tree, the action would be applied to that node.
Now in NetBeans 16, the action seems to be always applied to the current file in the editor, even if the keyboard focus is in the Projects or Files tree (in the separate floating window).
I suspect that maybe #4603 broke the previous behavior.
How to reproduce
No response
Did this work correctly in an earlier version?
Apache NetBeans 15
Operating System
Windows 10
JDK
JDK 11
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: