{"action":"created","issue":{"url":"https://api.github.com/repos/ibus/ibus/issues/2055","repository_url":"https://api.github.com/repos/ibus/ibus","labels_url":"https://api.github.com/repos/ibus/ibus/issues/2055/labels{/name}","comments_url":"https://api.github.com/repos/ibus/ibus/issues/2055/comments","events_url":"https://api.github.com/repos/ibus/ibus/issues/2055/events","html_url":"https://github.com/ibus/ibus/issues/2055","id":379792484,"node_id":"MDU6SXNzdWUzNzk3OTI0ODQ=","number":2055,"title":"Being able to set cursor position from engine?","user":{"login":"sthibaul","id":5405051,"node_id":"MDQ6VXNlcjU0MDUwNTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5405051?v=4","gravatar_id":"","url":"https://api.github.com/users/sthibaul","html_url":"https://github.com/sthibaul","followers_url":"https://api.github.com/users/sthibaul/followers","following_url":"https://api.github.com/users/sthibaul/following{/other_user}","gists_url":"https://api.github.com/users/sthibaul/gists{/gist_id}","starred_url":"https://api.github.com/users/sthibaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sthibaul/subscriptions","organizations_url":"https://api.github.com/users/sthibaul/orgs","repos_url":"https://api.github.com/users/sthibaul/repos","events_url":"https://api.github.com/users/sthibaul/events{/privacy}","received_events_url":"https://api.github.com/users/sthibaul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-12T14:07:54Z","updated_at":"2018-11-15T13:47:07Z","closed_at":null,"author_association":"NONE","body":"Please fill in the following items if you don't know the root cause.\r\n\r\n* Which distribution and version?: \r\nDebian Buster\r\n\r\n* Which desktop environment and version?: \r\nfvwm  + GTK_IM_MODULE configuration\r\n\r\n* Which session type?: \r\nX11\r\n\r\n* Which application and version?: \r\nany\r\n\r\n* IBus version?: \r\n1.5.19\r\n\r\n* Issue description:\r\nThere does not seem to be a way to set the current cursor position from an ibus engine.\r\n\r\n* Steps to reproduce:\r\n1. Write an ibus engine\r\n1. implement the do_process_key_event callback\r\n1. use delete_surrounding_text to remove some text\r\n1. use commit_text to add text\r\n\r\nnow that I have replaced some existing text with newer text, I would like to put the cursor within the commited text (and not necessarily at its end).\r\n\r\nThe idea is that I would like, with the ibus module, to switch between different representations of the same text, but keeping the cursor at the corresponding position between the representations.\r\n\r\n* Can you reproduce your problem when you restart ibus-daemon? (yes / no): \r\nyes\r\n\r\n* Do you see any errors when you run ibus-daemon with the verbose option?:\r\nno\r\n\r\n\r\n* Can you reproduce your problem with a new user account instead of the current your account? (yes / no): \r\nyes\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ibus/ibus/issues/comments/439045143","html_url":"https://github.com/ibus/ibus/issues/2055#issuecomment-439045143","issue_url":"https://api.github.com/repos/ibus/ibus/issues/2055","id":439045143,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTA0NTE0Mw==","user":{"login":"sthibaul","id":5405051,"node_id":"MDQ6VXNlcjU0MDUwNTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5405051?v=4","gravatar_id":"","url":"https://api.github.com/users/sthibaul","html_url":"https://github.com/sthibaul","followers_url":"https://api.github.com/users/sthibaul/followers","following_url":"https://api.github.com/users/sthibaul/following{/other_user}","gists_url":"https://api.github.com/users/sthibaul/gists{/gist_id}","starred_url":"https://api.github.com/users/sthibaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sthibaul/subscriptions","organizations_url":"https://api.github.com/users/sthibaul/orgs","repos_url":"https://api.github.com/users/sthibaul/repos","events_url":"https://api.github.com/users/sthibaul/events{/privacy}","received_events_url":"https://api.github.com/users/sthibaul/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T13:47:07Z","updated_at":"2018-11-15T13:47:07Z","author_association":"NONE","body":"I should have been more specific, sorry. After typing a few characters, move left  a bit, then press control-shift-b. The cursor ends up at the end of the braille pattern text."}}
{"actor":{"display_login":"sthibaul"}}