{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/kivy-designer/issues/194","repository_url":"https://api.github.com/repos/kivy/kivy-designer","labels_url":"https://api.github.com/repos/kivy/kivy-designer/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy-designer/issues/194/comments","events_url":"https://api.github.com/repos/kivy/kivy-designer/issues/194/events","html_url":"https://github.com/kivy/kivy-designer/pull/194","id":138282919,"number":194,"title":"navigate via keyboard","user":{"login":"kiok46","id":7335120,"avatar_url":"https://avatars.githubusercontent.com/u/7335120?v=3","gravatar_id":"","url":"https://api.github.com/users/kiok46","html_url":"https://github.com/kiok46","followers_url":"https://api.github.com/users/kiok46/followers","following_url":"https://api.github.com/users/kiok46/following{/other_user}","gists_url":"https://api.github.com/users/kiok46/gists{/gist_id}","starred_url":"https://api.github.com/users/kiok46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiok46/subscriptions","organizations_url":"https://api.github.com/users/kiok46/orgs","repos_url":"https://api.github.com/users/kiok46/repos","events_url":"https://api.github.com/users/kiok46/events{/privacy}","received_events_url":"https://api.github.com/users/kiok46/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kivy/kivy-designer/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/kivy/kivy-designer/milestones/1","html_url":"https://github.com/kivy/kivy-designer/milestones/0.1","labels_url":"https://api.github.com/repos/kivy/kivy-designer/milestones/1/labels","id":1338572,"number":1,"title":"0.1","description":"Provide an initial and usable version of Kivy Designer. With Build Tools, documentation, tutorials.","creator":{"login":"aron-bordin","id":4960137,"avatar_url":"https://avatars.githubusercontent.com/u/4960137?v=3","gravatar_id":"","url":"https://api.github.com/users/aron-bordin","html_url":"https://github.com/aron-bordin","followers_url":"https://api.github.com/users/aron-bordin/followers","following_url":"https://api.github.com/users/aron-bordin/following{/other_user}","gists_url":"https://api.github.com/users/aron-bordin/gists{/gist_id}","starred_url":"https://api.github.com/users/aron-bordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aron-bordin/subscriptions","organizations_url":"https://api.github.com/users/aron-bordin/orgs","repos_url":"https://api.github.com/users/aron-bordin/repos","events_url":"https://api.github.com/users/aron-bordin/events{/privacy}","received_events_url":"https://api.github.com/users/aron-bordin/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":21,"state":"open","created_at":"2015-10-05T16:14:13Z","updated_at":"2016-03-05T04:33:26Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-03-03T20:03:03Z","updated_at":"2016-03-05T18:33:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kivy/kivy-designer/pulls/194","html_url":"https://github.com/kivy/kivy-designer/pull/194","diff_url":"https://github.com/kivy/kivy-designer/pull/194.diff","patch_url":"https://github.com/kivy/kivy-designer/pull/194.patch"},"body":"Now user can navigate in the new project dialog box and open the projects by keyboard.\r\nPress **'up'**       -> to go up\r\nPress **'down'**  -> to go down\r\nPress **'enter'**  -> to open the project"},"comment":{"url":"https://api.github.com/repos/kivy/kivy-designer/issues/comments/192704107","html_url":"https://github.com/kivy/kivy-designer/pull/194#issuecomment-192704107","issue_url":"https://api.github.com/repos/kivy/kivy-designer/issues/194","id":192704107,"user":{"login":"aron-bordin","id":4960137,"avatar_url":"https://avatars.githubusercontent.com/u/4960137?v=3","gravatar_id":"","url":"https://api.github.com/users/aron-bordin","html_url":"https://github.com/aron-bordin","followers_url":"https://api.github.com/users/aron-bordin/followers","following_url":"https://api.github.com/users/aron-bordin/following{/other_user}","gists_url":"https://api.github.com/users/aron-bordin/gists{/gist_id}","starred_url":"https://api.github.com/users/aron-bordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aron-bordin/subscriptions","organizations_url":"https://api.github.com/users/aron-bordin/orgs","repos_url":"https://api.github.com/users/aron-bordin/repos","events_url":"https://api.github.com/users/aron-bordin/events{/privacy}","received_events_url":"https://api.github.com/users/aron-bordin/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T18:33:18Z","updated_at":"2016-03-05T18:33:18Z","body":"Hi @kiok46 \r\nThe modifiers identify if you are holding some modifier key (ctrl, shift, etc), so in this case it's necessary to ensure that `modifiers` variable is empty. just add a `if modifiers: \\n return False` in the beginning of the key_down callback.\r\n\r\nAlso, this class still listeing the keyboard after closing the dialog. So it's better to unbind it while not using. You can remove the bind from `__init__`, add a new method `on_parent` and bind/unbind checking if the current dialog is attached do a parent widget or not."}}