{"action":"created","issue":{"url":"https://api.github.com/repos/limetext/lime/issues/501","labels_url":"https://api.github.com/repos/limetext/lime/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/limetext/lime/issues/501/comments","events_url":"https://api.github.com/repos/limetext/lime/issues/501/events","html_url":"https://github.com/limetext/lime/issues/501","id":58489957,"number":501,"title":"Unable to type capital letters","user":{"login":"bawigga","id":7358,"avatar_url":"https://avatars.githubusercontent.com/u/7358?v=3","gravatar_id":"","url":"https://api.github.com/users/bawigga","html_url":"https://github.com/bawigga","followers_url":"https://api.github.com/users/bawigga/followers","following_url":"https://api.github.com/users/bawigga/following{/other_user}","gists_url":"https://api.github.com/users/bawigga/gists{/gist_id}","starred_url":"https://api.github.com/users/bawigga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bawigga/subscriptions","organizations_url":"https://api.github.com/users/bawigga/orgs","repos_url":"https://api.github.com/users/bawigga/repos","events_url":"https://api.github.com/users/bawigga/events{/privacy}","received_events_url":"https://api.github.com/users/bawigga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/limetext/lime/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/limetext/lime/labels/frontend","name":"frontend","color":"bfdadc"},{"url":"https://api.github.com/repos/limetext/lime/labels/qml","name":"qml","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-22T04:34:59Z","updated_at":"2015-02-26T07:03:38Z","closed_at":null,"body":"When running the QML frontend, I find I'm not able to type in capital letters to the editor.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8796335-unable-to-type-capital-letters?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/limetext/lime/issues/comments/76131718","html_url":"https://github.com/limetext/lime/issues/501#issuecomment-76131718","issue_url":"https://api.github.com/repos/limetext/lime/issues/501","id":76131718,"user":{"login":"bawigga","id":7358,"avatar_url":"https://avatars.githubusercontent.com/u/7358?v=3","gravatar_id":"","url":"https://api.github.com/users/bawigga","html_url":"https://github.com/bawigga","followers_url":"https://api.github.com/users/bawigga/followers","following_url":"https://api.github.com/users/bawigga/following{/other_user}","gists_url":"https://api.github.com/users/bawigga/gists{/gist_id}","starred_url":"https://api.github.com/users/bawigga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bawigga/subscriptions","organizations_url":"https://api.github.com/users/bawigga/orgs","repos_url":"https://api.github.com/users/bawigga/repos","events_url":"https://api.github.com/users/bawigga/events{/privacy}","received_events_url":"https://api.github.com/users/bawigga/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T07:03:38Z","updated_at":"2015-02-26T07:03:38Z","body":"The [QML KeyEvent Element](http://qt-project.org/doc/qt-4.8/qml-keyevent.html) has a text field, which:\r\n\r\n> ... holds the Unicode text that the key generated. The text returned can be an empty string in cases where modifier keys, such as Shift, Control, Alt, and Meta, are being pressed or released. In such cases key will contain a valid value\r\n\r\nI updated `main.qml` to pass the `KeyEvent.text` field through to the `qmlfrontend.HandleInput` function. I then updated the `KeyPress struct` to have an additional `Text string` field to represent that value. Finally, I updated `editor.HandleInput` to pass the insert command that new `text` field instead of `key`. \r\n\r\n@quarnster @zoli Still need to add some tests, but any other feedback before I PR?"}}