{"action":"closed","issue":{"url":"https://api.github.com/repos/ibus/ibus/issues/1826","labels_url":"https://api.github.com/repos/ibus/ibus/issues/1826/labels{/name}","comments_url":"https://api.github.com/repos/ibus/ibus/issues/1826/comments","events_url":"https://api.github.com/repos/ibus/ibus/issues/1826/events","html_url":"https://github.com/ibus/ibus/issues/1826","id":115553524,"number":1826,"title":"preedit text should be forgotten if the candidate panel was closed when window lost focus","user":{"login":"salty-horse","id":28355,"avatar_url":"https://avatars.githubusercontent.com/u/28355?v=3","gravatar_id":"","url":"https://api.github.com/users/salty-horse","html_url":"https://github.com/salty-horse","followers_url":"https://api.github.com/users/salty-horse/followers","following_url":"https://api.github.com/users/salty-horse/following{/other_user}","gists_url":"https://api.github.com/users/salty-horse/gists{/gist_id}","starred_url":"https://api.github.com/users/salty-horse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salty-horse/subscriptions","organizations_url":"https://api.github.com/users/salty-horse/orgs","repos_url":"https://api.github.com/users/salty-horse/repos","events_url":"https://api.github.com/users/salty-horse/events{/privacy}","received_events_url":"https://api.github.com/users/salty-horse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-06T17:44:20Z","updated_at":"2015-11-10T18:33:44Z","closed_at":"2015-11-10T18:33:44Z","body":"Using 1.5.9-1ubuntu3\r\n\r\n1) Open gedit, and gnome-terminal, with both visible side-by-side\r\n2) Use an IME with a candidate panel, such as Pinyin, and type some letters in the gedit window.\r\n3) Without confirming, click the gnome-terminal window. The candidate panel will disappear.\r\n4) Focus on the gnome-terminal window and type some letters. The pre-edit text previously typed will be restored in the new window.\r\n\r\nI think that if a candidate panel was closed for any reason, the preedit text should always start empty."}}