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

electron: Tab order in node editor #89

Open
rdominick opened this issue Jan 27, 2019 · 10 comments
Open

electron: Tab order in node editor #89

rdominick opened this issue Jan 27, 2019 · 10 comments

Comments

@rdominick
Copy link

If you hit TAB from the tags line on the node editor, the focus goes nowhere, It should send the cursor to the node body.

If you hit TAB many times from the tags line, it eventually puts focus on the node name. The editor is never selected.

@blurymind
Copy link
Collaborator

that is actually a missing feature :)
Pull requests to add it are welcome

@rdominick
Copy link
Author

Since this is the way it worked before the toolbar, it's more of a bug, don't you think? :)

@blurymind
Copy link
Collaborator

I think what happens is that all the buttons are now taking focus in the order, which is natural when there is now a new element there

@rdominick
Copy link
Author

Traditionally, in a UI with a toolbar, the toolbar buttons are not selectable via keyboard -- those buttons are shortcuts for menu items which have their own keyboard shortcuts.

If the toolbar buttons are getting focus than there is no visual feedback of that fact. You can trigger the current toolbar button with the spacebar, but the results are... unpredictable

Also, the node body is now never tabbed to/selected, even though it is still an element that should naturally have a place in the tab order.

I'm not arguing just to argue; I honestly want the UI to be as good as it can be. This is a major usability issue for users like me who don't like to take their hands off the keyboard once they start typing.

blurymind added a commit that referenced this issue Feb 7, 2019
@blurymind
Copy link
Collaborator

blurymind commented Feb 7, 2019

fixed via dc6588e
and 37a3e6f

please confirm if that works for you :)
tabbing from tags will now always tab to editor

@rdominick
Copy link
Author

Yes, it works quite well.

@blurymind
Copy link
Collaborator

In that case let's close this issue :)

@rdominick
Copy link
Author

Actually, I did find an issue while I was messing around: since the focus is triggered on blur, if you shift-tab away from the tags line it tabs forward to the editor instead...

@blurymind
Copy link
Collaborator

blurymind commented Feb 8, 2019

Actually, I did find an issue while I was messing around: since the focus is triggered on blur, if you shift-tab away from the tags line it tabs forward to the editor instead...

I fixed this properly now. Will do the commit tonight :)

@blurymind
Copy link
Collaborator

should be fixed now, try again :)

via
c54dd56

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

No branches or pull requests

2 participants