{"action":"created","issue":{"url":"https://api.github.com/repos/goldendict/goldendict/issues/600","labels_url":"https://api.github.com/repos/goldendict/goldendict/issues/600/labels{/name}","comments_url":"https://api.github.com/repos/goldendict/goldendict/issues/600/comments","events_url":"https://api.github.com/repos/goldendict/goldendict/issues/600/events","html_url":"https://github.com/goldendict/goldendict/pull/600","id":81438535,"number":600,"title":"Update mainwindow.cc","user":{"login":"cmyker","id":1872718,"avatar_url":"https://avatars.githubusercontent.com/u/1872718?v=3","gravatar_id":"","url":"https://api.github.com/users/cmyker","html_url":"https://github.com/cmyker","followers_url":"https://api.github.com/users/cmyker/followers","following_url":"https://api.github.com/users/cmyker/following{/other_user}","gists_url":"https://api.github.com/users/cmyker/gists{/gist_id}","starred_url":"https://api.github.com/users/cmyker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmyker/subscriptions","organizations_url":"https://api.github.com/users/cmyker/orgs","repos_url":"https://api.github.com/users/cmyker/repos","events_url":"https://api.github.com/users/cmyker/events{/privacy}","received_events_url":"https://api.github.com/users/cmyker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-27T13:12:52Z","updated_at":"2015-05-27T18:15:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/goldendict/goldendict/pulls/600","html_url":"https://github.com/goldendict/goldendict/pull/600","diff_url":"https://github.com/goldendict/goldendict/pull/600.diff","patch_url":"https://github.com/goldendict/goldendict/pull/600.patch"},"body":"This fix is related to this issue https://github.com/goldendict/goldendict/issues/598\r\nCtrl+c+c doesn't works on my Linux with KDE desktop environment.\r\nQt docs http://doc.qt.digia.com/qt-maemo/qclipboard.html says:\r\nLastly, the X11 clipboard is event driven, i.e. the clipboard will not function properly if the event loop is not running. Similarly, it is recommended that the contents of the clipboard are stored or retrieved in direct response to user-input events, e.g. mouse button or key presses and releases. You should not store or retrieve the clipboard contents in response to timer or non-user-input events.\r\n\r\nI propose the fix above, with it goldendict ctrl+c+c works on my KDE desktop as it should."},"comment":{"url":"https://api.github.com/repos/goldendict/goldendict/issues/comments/106019220","html_url":"https://github.com/goldendict/goldendict/pull/600#issuecomment-106019220","issue_url":"https://api.github.com/repos/goldendict/goldendict/issues/600","id":106019220,"user":{"login":"cmyker","id":1872718,"avatar_url":"https://avatars.githubusercontent.com/u/1872718?v=3","gravatar_id":"","url":"https://api.github.com/users/cmyker","html_url":"https://github.com/cmyker","followers_url":"https://api.github.com/users/cmyker/followers","following_url":"https://api.github.com/users/cmyker/following{/other_user}","gists_url":"https://api.github.com/users/cmyker/gists{/gist_id}","starred_url":"https://api.github.com/users/cmyker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmyker/subscriptions","organizations_url":"https://api.github.com/users/cmyker/orgs","repos_url":"https://api.github.com/users/cmyker/repos","events_url":"https://api.github.com/users/cmyker/events{/privacy}","received_events_url":"https://api.github.com/users/cmyker/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T18:15:13Z","updated_at":"2015-05-27T18:15:13Z","body":"I mean clipboard contents is not empty, copy/paste works as it should.\n27 Май 2015 г. 19:12 пользователь \"Igor Prokopenkov\" <cmyk777@gmail.com>\nнаписал:\n\n> Yes. Chipboard is empty only in KDE apps.  I tried to launch KDE with GD\n> from a new user but result is the same.\n> 27 Май 2015 г. 18:11 пользователь \"Abs62\" <notifications@github.com>\n> написал:\n>\n>> Is Ctrl+C copy selection content to clipboard properly (copy/paste in\n>> other programs, not in GD) when GD launched?\n>>\n>> —\n>> Reply to this email directly or view it on GitHub\n>> <https://github.com/goldendict/goldendict/pull/600#issuecomment-105950395>\n>> .\n>>\n>\n"}}