-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Focus entry editor tab when opening entry editor #3052
Comments
Hello, I currently taking a shot on this one and would like some clarification. I think the field solution is more sensible as the user can, at this point, start typing as well as changing tab but if the focus goes to tab, the user has to press TAB button to start typing. |
Thanks for your interest in this, I agree the field solution would be more useful. So the focus then should go to the first field on that page. If you need help or have any further questions on this, just ask. |
hi Siedlerchr, I am thinking the fact that UI hierarchy consists of mixed swing and javaFX elements maybe has something to do with my problem. I created a branch to demonstrate the problem named problemDemonstration. I would expect the focus to go to the EntryEditor's first tab but it does not. Any help would be greatly appreciated! Thanks! |
Hi, Could be same reason for #3062 |
@tobiasdiez thank you very much for your comment, it was very helpful. The behavior described above can be demonstrated in this branch: @Siedlerchr how should I proceed? should I prepare a pull request based on this solution or should I try to figure out how to make it give focus on the preferred node by explicitly declaring it for each tab? |
Thanks for your effort, I think you should prepare a pull request and then
the other devs can have a look and we can discuss how to proceed
Am 08.08.2017 2:17 vorm. schrieb "foivos christoulakis" <
notifications@github.com>:
… @tobiasdiez <https://github.com/tobiasdiez> thank you very much for your
comment, it was very helpful.
I tried requesting focus on the JFXPanel and the focus is given
implicitly to a focusTraversable node contained in the JFXPanel. The
selection of the node seems to be "random" (even though consistent for a
given tree of nodes). As far as I've tested it focuses the first Textfield
on any tab which is the desired behavior but it is not guaranteed to stay
like this if something changes in the nodes hierarchy or design.
The behavior described above can be demonstrated in this branch:
https://github.com/halx4/jabref/tree/entryEditorFocusFix
@Siedlerchr <https://github.com/siedlerchr> how should I proceed? should
I prepare a pull request based on this solution or should I try to figure
out how to make it give focus on the preferred node by explicitly declaring
it for each tab?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3052 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AATi5A_P84kGkFrhLgZ9tXLPdoYk5xCQks5sV6kHgaJpZM4Ojt2t>
.
|
Open entry editor.
Tab is not focused, Press CTRL+ PLUS or CTRL+ Minus to navigate: Notice that focus is still on table and therefore changes the size.
You first have to click on the tab or in a field to focus it and therefore make the navigation work correctly.
The text was updated successfully, but these errors were encountered: