Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove keyboard shortcut from terminal close action #7372

Merged
merged 1 commit into from May 14, 2024

Conversation

neilcsmith-net
Copy link
Member

Remove keyboard shortcut from terminal close action due to multiple conflicts.

While testing the dashboard on macOS I noticed that the terminal close action shortcut clashes with the new dashboard action, which sometimes causes issues. The terminal action uses a non-portable registration, and I was going to look at whether this should change. However, while testing I noticed that the binding on Linux and Windows also clashes with the close all documents action.

As this shortcut seems to only work sporadically, often does nothing, and sometimes inadvertently closes all your open documents instead, it seems a good idea to remove it (for now).

Anyone desperate for keyboard control can always remap, or type exit! 😄

@neilcsmith-net neilcsmith-net added this to the NB22 milestone May 10, 2024
@mbien mbien added the UI User Interface label May 10, 2024
@apache apache locked and limited conversation to collaborators May 10, 2024
@apache apache unlocked this conversation May 10, 2024
Copy link
Member

@mbien mbien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

close focused terminal and close all documents should probably not be on the same binding, I agree.

@neilcsmith-net
Copy link
Member Author

close focused terminal ...

Let's call that maybe close focused terminal. Not sure why as yet, but running through in the debugger a lot of times the right action is invoked, but it fails to close anything because isVisibleInContainer is false at https://github.com/apache/netbeans/blob/master/ide/terminal.nb/src/org/netbeans/modules/terminal/ioprovider/Terminal.java#L732 That's a separate issue to having a duplicate key binding, but does show that having no key binding isn't much of an issue either.

Thanks @mbien

@ebarboni ebarboni merged commit 88a115c into apache:delivery May 14, 2024
63 of 64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants