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

Delete-Key functionality not working #32

Open
xykro opened this issue Sep 30, 2020 · 1 comment
Open

Delete-Key functionality not working #32

xykro opened this issue Sep 30, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@xykro
Copy link

xykro commented Sep 30, 2020

Description
Using the Del-Key to delete nodes or branches does not seem to be working (as stated as shortcut in Edit >> Remove Node(s) or Branch(es))

Possible root of the problem
The problem seems to me that the focus is in the name/weight field. This leads to the delete input to be grabbed by this field instead of the drawing canvas.

Fix
Either forward the delete input to the canvas (no technical fix provided here), or remove the note of the shortcut (only mention is in the menu). Nevertheless, it would be a nice and convenient feature, so this issue could be marked as an enhancement as well.

@hanspi42 hanspi42 added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Sep 30, 2020
@hanspi42
Copy link
Owner

Thank you!

The problem is that selecting a single node or branch will, as you say, put the focus in the weight field. As soon as you select two objects, DEL works.

The fix to forward delete to the canvas is an idea, but should only be done if the cursor is at the very end of the text field. If it is not at the end, it should work in the text.

Alternatively, the shortcut for deletion could be ctrl-x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants