{"action":"created","issue":{"url":"https://api.github.com/repos/memspace/zefyr/issues/11","repository_url":"https://api.github.com/repos/memspace/zefyr","labels_url":"https://api.github.com/repos/memspace/zefyr/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/memspace/zefyr/issues/11/comments","events_url":"https://api.github.com/repos/memspace/zefyr/issues/11/events","html_url":"https://github.com/memspace/zefyr/issues/11","id":342321561,"node_id":"MDU6SXNzdWUzNDIzMjE1NjE=","number":11,"title":"Fatal 'getTextBeforeCursor on inactive InputConnection' error","user":{"login":"stemuk","id":17005007,"node_id":"MDQ6VXNlcjE3MDA1MDA3","avatar_url":"https://avatars0.githubusercontent.com/u/17005007?v=4","gravatar_id":"","url":"https://api.github.com/users/stemuk","html_url":"https://github.com/stemuk","followers_url":"https://api.github.com/users/stemuk/followers","following_url":"https://api.github.com/users/stemuk/following{/other_user}","gists_url":"https://api.github.com/users/stemuk/gists{/gist_id}","starred_url":"https://api.github.com/users/stemuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stemuk/subscriptions","organizations_url":"https://api.github.com/users/stemuk/orgs","repos_url":"https://api.github.com/users/stemuk/repos","events_url":"https://api.github.com/users/stemuk/events{/privacy}","received_events_url":"https://api.github.com/users/stemuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-18T13:09:59Z","updated_at":"2018-07-18T17:20:18Z","closed_at":null,"author_association":"NONE","body":"First of all, thanks a lot for this awesome project, I really appreciate the time and effort you must have put into zefyr to make this work!\r\n\r\nIn my own tests I ran into (only) one major issue that resolves around text input at a certain speed. If certain actions such as text input or or text deletion are preformed at a certain speed (for instance simply holding down the delete button on the keyboard) the entire application will crash and throw the following errors in frequent succession:\r\n```\r\nW/IInputConnectionWrapper( 5484): getTextBeforeCursor on inactive InputConnection\r\nW/IInputConnectionWrapper( 5484): getSelectedText on inactive InputConnection\r\nW/IInputConnectionWrapper( 5484): requestCursorAnchorInfo on inactive InputConnection\r\n```\r\n\r\nEven worse, the keybord will persist in its opened state even after the application has been closed by the user, as seen in [this](https://imgur.com/cNSyQuI) image, effectively rendering the device useless for several minutes.\r\n\r\nThe error might be caused by the race conditions you mentioned in #10 and seems to happen less frequently on more performant devices, which would suggest that performance optimizations might eliminate this issue for the most part.\r\nAgain, thanks a lot for creating this otherwise awesome widget, I think with the scope of this project issues like these are mostly unavoidable. :+1: "},"comment":{"url":"https://api.github.com/repos/memspace/zefyr/issues/comments/406008980","html_url":"https://github.com/memspace/zefyr/issues/11#issuecomment-406008980","issue_url":"https://api.github.com/repos/memspace/zefyr/issues/11","id":406008980,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjAwODk4MA==","user":{"login":"pulyaevskiy","id":441756,"node_id":"MDQ6VXNlcjQ0MTc1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/441756?v=4","gravatar_id":"","url":"https://api.github.com/users/pulyaevskiy","html_url":"https://github.com/pulyaevskiy","followers_url":"https://api.github.com/users/pulyaevskiy/followers","following_url":"https://api.github.com/users/pulyaevskiy/following{/other_user}","gists_url":"https://api.github.com/users/pulyaevskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/pulyaevskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulyaevskiy/subscriptions","organizations_url":"https://api.github.com/users/pulyaevskiy/orgs","repos_url":"https://api.github.com/users/pulyaevskiy/repos","events_url":"https://api.github.com/users/pulyaevskiy/events{/privacy}","received_events_url":"https://api.github.com/users/pulyaevskiy/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T17:20:18Z","updated_at":"2018-07-18T17:20:18Z","author_association":"CONTRIBUTOR","body":"So far I've found two issues in Flutter repo which refer to the same error: https://github.com/flutter/flutter/issues/10498 and https://github.com/flutter/flutter/issues/11198\r\n\r\nLooks strange."}}
{"actor":{"display_login":"pulyaevskiy"}}