{"action":"created","issue":{"url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/34","labels_url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/34/comments","events_url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/34/events","html_url":"https://github.com/hydrusnetwork/hydrus/issues/34","id":59394984,"number":34,"title":"Hydrus tag auto-complete steals up/down/enter keypress from IME","user":{"login":"ScoreUnder","id":1123686,"avatar_url":"https://avatars.githubusercontent.com/u/1123686?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoreUnder","html_url":"https://github.com/ScoreUnder","followers_url":"https://api.github.com/users/ScoreUnder/followers","following_url":"https://api.github.com/users/ScoreUnder/following{/other_user}","gists_url":"https://api.github.com/users/ScoreUnder/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoreUnder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoreUnder/subscriptions","organizations_url":"https://api.github.com/users/ScoreUnder/orgs","repos_url":"https://api.github.com/users/ScoreUnder/repos","events_url":"https://api.github.com/users/ScoreUnder/events{/privacy}","received_events_url":"https://api.github.com/users/ScoreUnder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-01T12:58:33Z","updated_at":"2015-12-05T18:50:29Z","closed_at":null,"body":"Here's another tough one for you: When entering Japanese text, the auto-complete box steals the keypress for up, down and enter.\r\n\r\nUsually, they would do this:\r\n* Up: Select previous suggestion\r\n* Down or Space: Select next suggestion (space works in hydrus)\r\n* Enter: Confirm & insert text\r\n\r\nSo normally you'd type like this:\r\n1. \"kosimizu\" → you see \"こしみず\" on-screen, underlined to show that it is still being edited\r\n2. space a few times to select the right written form → you see 輿水 on-screen, selected to show which fragment of text you're replacing\r\n3. enter to insert the text → 輿水 is inserted properly into the textbox\r\n\r\nBut what actually happens is this:\r\n1. \"kosimizu\" → seems normal:\r\n    ![image](http://a.pomf.se/knpxfr.png)\r\n2. space a few times → seems normal:\r\n    ![image](http://a.pomf.se/gradim.png)\r\n    * If you over-shoot you can't use the up key to go back to the right suggestion here, hydrus will intercept that key\r\n3. enter → everything but the japanese is tagged, and the japanese is moved to the start of the textbox\r\n    ![image](http://a.pomf.se/wonflu.png)\r\n4. enter again (in an attempt to get out of the japanese editing mode) → the dialog closes and the image seems to be tagged with \"character:\" temporarily"},"comment":{"url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/comments/162234406","html_url":"https://github.com/hydrusnetwork/hydrus/issues/34#issuecomment-162234406","issue_url":"https://api.github.com/repos/hydrusnetwork/hydrus/issues/34","id":162234406,"user":{"login":"hydrusnetwork","id":3878678,"avatar_url":"https://avatars.githubusercontent.com/u/3878678?v=3","gravatar_id":"","url":"https://api.github.com/users/hydrusnetwork","html_url":"https://github.com/hydrusnetwork","followers_url":"https://api.github.com/users/hydrusnetwork/followers","following_url":"https://api.github.com/users/hydrusnetwork/following{/other_user}","gists_url":"https://api.github.com/users/hydrusnetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/hydrusnetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydrusnetwork/subscriptions","organizations_url":"https://api.github.com/users/hydrusnetwork/orgs","repos_url":"https://api.github.com/users/hydrusnetwork/repos","events_url":"https://api.github.com/users/hydrusnetwork/events{/privacy}","received_events_url":"https://api.github.com/users/hydrusnetwork/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T18:50:29Z","updated_at":"2015-12-05T18:50:29Z","body":"I actually made this shift+tab in the end, so that tab could be the new 'get the results now'. Let me know if this causes problems--I can change it easily."}}