{"action":"created","issue":{"url":"https://api.github.com/repos/JabRef/jabref/issues/3052","repository_url":"https://api.github.com/repos/JabRef/jabref","labels_url":"https://api.github.com/repos/JabRef/jabref/issues/3052/labels{/name}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/3052/comments","events_url":"https://api.github.com/repos/JabRef/jabref/issues/3052/events","html_url":"https://github.com/JabRef/jabref/issues/3052","id":245673616,"number":3052,"title":"Focus entry editor tab when opening entry editor ","user":{"login":"Siedlerchr","id":320228,"avatar_url":"https://avatars1.githubusercontent.com/u/320228?v=4","gravatar_id":"","url":"https://api.github.com/users/Siedlerchr","html_url":"https://github.com/Siedlerchr","followers_url":"https://api.github.com/users/Siedlerchr/followers","following_url":"https://api.github.com/users/Siedlerchr/following{/other_user}","gists_url":"https://api.github.com/users/Siedlerchr/gists{/gist_id}","starred_url":"https://api.github.com/users/Siedlerchr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siedlerchr/subscriptions","organizations_url":"https://api.github.com/users/Siedlerchr/orgs","repos_url":"https://api.github.com/users/Siedlerchr/repos","events_url":"https://api.github.com/users/Siedlerchr/events{/privacy}","received_events_url":"https://api.github.com/users/Siedlerchr/received_events","type":"User","site_admin":false},"labels":[{"id":570339253,"url":"https://api.github.com/repos/JabRef/jabref/labels/beginner","name":"beginner","color":"0e8a16","default":false},{"id":85380375,"url":"https://api.github.com/repos/JabRef/jabref/labels/enhancement","name":"enhancement","color":"6AC46A","default":true},{"id":598265869,"url":"https://api.github.com/repos/JabRef/jabref/labels/entry-editor","name":"entry-editor","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-26T10:17:11Z","updated_at":"2017-08-08T00:17:11Z","closed_at":null,"body":"Open entry editor.\r\nTab is not focused, Press CTRL+ PLUS or  CTRL+ Minus to navigate: Notice that focus is still on table and therefore changes the size.\r\n\r\nYou first have to click on the tab or in a field to focus it and therefore make the navigation work correctly.\r\n"},"comment":{"url":"https://api.github.com/repos/JabRef/jabref/issues/comments/320814873","html_url":"https://github.com/JabRef/jabref/issues/3052#issuecomment-320814873","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/3052","id":320814873,"user":{"login":"halx4","id":12011094,"avatar_url":"https://avatars3.githubusercontent.com/u/12011094?v=4","gravatar_id":"","url":"https://api.github.com/users/halx4","html_url":"https://github.com/halx4","followers_url":"https://api.github.com/users/halx4/followers","following_url":"https://api.github.com/users/halx4/following{/other_user}","gists_url":"https://api.github.com/users/halx4/gists{/gist_id}","starred_url":"https://api.github.com/users/halx4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halx4/subscriptions","organizations_url":"https://api.github.com/users/halx4/orgs","repos_url":"https://api.github.com/users/halx4/repos","events_url":"https://api.github.com/users/halx4/events{/privacy}","received_events_url":"https://api.github.com/users/halx4/received_events","type":"User","site_admin":false},"created_at":"2017-08-08T00:17:11Z","updated_at":"2017-08-08T00:17:11Z","body":"@tobiasdiez thank you very much for your comment, it was very helpful.\r\nI 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.\r\n\r\nThe behavior described above can be demonstrated in this branch:\r\nhttps://github.com/halx4/jabref/tree/entryEditorFocusFix\r\n\r\n@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?"}}
{"actor":{"display_login":"halx4"}}