{"action":"created","comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments/36630637","id":36630637,"diff_hunk":"@@ -493,8 +497,7 @@ def notify_axes_change(fig):\n \n     @QtCore.Slot()\n     def _show_message(self, s):\n-        # Fixes a PySide segfault.","path":"lib/matplotlib/backends/backend_qt5.py","position":15,"original_position":15,"commit_id":"eb5c74b2fd00a477fd9f4d22d9ea9eb210cfb147","original_commit_id":"eb5c74b2fd00a477fd9f4d22d9ea9eb210cfb147","user":{"login":"pwuertz","id":1819283,"avatar_url":"https://avatars.githubusercontent.com/u/1819283?v=3","gravatar_id":"","url":"https://api.github.com/users/pwuertz","html_url":"https://github.com/pwuertz","followers_url":"https://api.github.com/users/pwuertz/followers","following_url":"https://api.github.com/users/pwuertz/following{/other_user}","gists_url":"https://api.github.com/users/pwuertz/gists{/gist_id}","starred_url":"https://api.github.com/users/pwuertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwuertz/subscriptions","organizations_url":"https://api.github.com/users/pwuertz/orgs","repos_url":"https://api.github.com/users/pwuertz/repos","events_url":"https://api.github.com/users/pwuertz/events{/privacy}","received_events_url":"https://api.github.com/users/pwuertz/received_events","type":"User","site_admin":false},"body":"Looking at the history it seems that connecting the showMessage slot directly resulted in a segfault in PySide. The `_show_message` wrapper appears to be a workaround.","created_at":"2015-08-10T13:35:28Z","updated_at":"2015-08-10T13:35:28Z","html_url":"https://github.com/matplotlib/matplotlib/pull/4894#discussion_r36630637","pull_request_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4894","_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments/36630637"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/4894#discussion_r36630637"},"pull_request":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4894"}}},"pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4894","id":42018522,"html_url":"https://github.com/matplotlib/matplotlib/pull/4894","diff_url":"https://github.com/matplotlib/matplotlib/pull/4894.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/4894.patch","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4894","number":4894,"state":"open","locked":false,"title":"Qt5: Eliminate slow path when showing messages","user":{"login":"pwuertz","id":1819283,"avatar_url":"https://avatars.githubusercontent.com/u/1819283?v=3","gravatar_id":"","url":"https://api.github.com/users/pwuertz","html_url":"https://github.com/pwuertz","followers_url":"https://api.github.com/users/pwuertz/followers","following_url":"https://api.github.com/users/pwuertz/following{/other_user}","gists_url":"https://api.github.com/users/pwuertz/gists{/gist_id}","starred_url":"https://api.github.com/users/pwuertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwuertz/subscriptions","organizations_url":"https://api.github.com/users/pwuertz/orgs","repos_url":"https://api.github.com/users/pwuertz/repos","events_url":"https://api.github.com/users/pwuertz/events{/privacy}","received_events_url":"https://api.github.com/users/pwuertz/received_events","type":"User","site_admin":false},"body":"For every single mouse-move event the Qt5 backend displays a message (x, y coordinates) via `QStatusBar.showMessage()`. This function forces an immediate update of the GUI and causes the application to lag behind mouse movements in case the update process cannot keep up with the event-rate.\r\nAs an alternative approach I added a QLabel to the QStatusBar and changed its text property for displaying messages. The redraws for message updates are now handled asynchronously and thus result in much better GUI performance, at least on the systems I tested.","created_at":"2015-08-10T13:16:26Z","updated_at":"2015-08-10T13:35:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f00adf4ca27ee626533eae533a4608f8eca6fb0","assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/18","html_url":"https://github.com/matplotlib/matplotlib/milestones/next%20point%20release","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/18/labels","id":970105,"number":18,"title":"next point release","description":"Next minor release.","creator":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":281,"state":"open","created_at":"2015-02-07T21:22:30Z","updated_at":"2015-08-10T13:19:30Z","due_on":"2015-07-31T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4894/commits","review_comments_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4894/comments","review_comment_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4894/comments","statuses_url":"https://api.github.com/repos/matplotlib/matplotlib/statuses/eb5c74b2fd00a477fd9f4d22d9ea9eb210cfb147","head":{"label":"pwuertz:qt5_slow_message_fix","ref":"qt5_slow_message_fix","sha":"eb5c74b2fd00a477fd9f4d22d9ea9eb210cfb147","user":{"login":"pwuertz","id":1819283,"avatar_url":"https://avatars.githubusercontent.com/u/1819283?v=3","gravatar_id":"","url":"https://api.github.com/users/pwuertz","html_url":"https://github.com/pwuertz","followers_url":"https://api.github.com/users/pwuertz/followers","following_url":"https://api.github.com/users/pwuertz/following{/other_user}","gists_url":"https://api.github.com/users/pwuertz/gists{/gist_id}","starred_url":"https://api.github.com/users/pwuertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwuertz/subscriptions","organizations_url":"https://api.github.com/users/pwuertz/orgs","repos_url":"https://api.github.com/users/pwuertz/repos","events_url":"https://api.github.com/users/pwuertz/events{/privacy}","received_events_url":"https://api.github.com/users/pwuertz/received_events","type":"User","site_admin":false},"repo":{"id":5318644,"name":"matplotlib","full_name":"pwuertz/matplotlib","owner":{"login":"pwuertz","id":1819283,"avatar_url":"https://avatars.githubusercontent.com/u/1819283?v=3","gravatar_id":"","url":"https://api.github.com/users/pwuertz","html_url":"https://github.com/pwuertz","followers_url":"https://api.github.com/users/pwuertz/followers","following_url":"https://api.github.com/users/pwuertz/following{/other_user}","gists_url":"https://api.github.com/users/pwuertz/gists{/gist_id}","starred_url":"https://api.github.com/users/pwuertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwuertz/subscriptions","organizations_url":"https://api.github.com/users/pwuertz/orgs","repos_url":"https://api.github.com/users/pwuertz/repos","events_url":"https://api.github.com/users/pwuertz/events{/privacy}","received_events_url":"https://api.github.com/users/pwuertz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pwuertz/matplotlib","description":"Matplotlib fork for pull requests","fork":true,"url":"https://api.github.com/repos/pwuertz/matplotlib","forks_url":"https://api.github.com/repos/pwuertz/matplotlib/forks","keys_url":"https://api.github.com/repos/pwuertz/matplotlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pwuertz/matplotlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pwuertz/matplotlib/teams","hooks_url":"https://api.github.com/repos/pwuertz/matplotlib/hooks","issue_events_url":"https://api.github.com/repos/pwuertz/matplotlib/issues/events{/number}","events_url":"https://api.github.com/repos/pwuertz/matplotlib/events","assignees_url":"https://api.github.com/repos/pwuertz/matplotlib/assignees{/user}","branches_url":"https://api.github.com/repos/pwuertz/matplotlib/branches{/branch}","tags_url":"https://api.github.com/repos/pwuertz/matplotlib/tags","blobs_url":"https://api.github.com/repos/pwuertz/matplotlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pwuertz/matplotlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pwuertz/matplotlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/pwuertz/matplotlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pwuertz/matplotlib/statuses/{sha}","languages_url":"https://api.github.com/repos/pwuertz/matplotlib/languages","stargazers_url":"https://api.github.com/repos/pwuertz/matplotlib/stargazers","contributors_url":"https://api.github.com/repos/pwuertz/matplotlib/contributors","subscribers_url":"https://api.github.com/repos/pwuertz/matplotlib/subscribers","subscription_url":"https://api.github.com/repos/pwuertz/matplotlib/subscription","commits_url":"https://api.github.com/repos/pwuertz/matplotlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/pwuertz/matplotlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/pwuertz/matplotlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/pwuertz/matplotlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/pwuertz/matplotlib/contents/{+path}","compare_url":"https://api.github.com/repos/pwuertz/matplotlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pwuertz/matplotlib/merges","archive_url":"https://api.github.com/repos/pwuertz/matplotlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pwuertz/matplotlib/downloads","issues_url":"https://api.github.com/repos/pwuertz/matplotlib/issues{/number}","pulls_url":"https://api.github.com/repos/pwuertz/matplotlib/pulls{/number}","milestones_url":"https://api.github.com/repos/pwuertz/matplotlib/milestones{/number}","notifications_url":"https://api.github.com/repos/pwuertz/matplotlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pwuertz/matplotlib/labels{/name}","releases_url":"https://api.github.com/repos/pwuertz/matplotlib/releases{/id}","created_at":"2012-08-06T19:47:10Z","updated_at":"2015-01-08T16:26:26Z","pushed_at":"2015-08-10T12:59:27Z","git_url":"git://github.com/pwuertz/matplotlib.git","ssh_url":"git@github.com:pwuertz/matplotlib.git","clone_url":"https://github.com/pwuertz/matplotlib.git","svn_url":"https://github.com/pwuertz/matplotlib","homepage":"","size":216003,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"matplotlib:master","ref":"master","sha":"5d9245d23dedf1d5d9f909a296c787cbfb543450","user":{"login":"matplotlib","id":215947,"avatar_url":"https://avatars.githubusercontent.com/u/215947?v=3","gravatar_id":"","url":"https://api.github.com/users/matplotlib","html_url":"https://github.com/matplotlib","followers_url":"https://api.github.com/users/matplotlib/followers","following_url":"https://api.github.com/users/matplotlib/following{/other_user}","gists_url":"https://api.github.com/users/matplotlib/gists{/gist_id}","starred_url":"https://api.github.com/users/matplotlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matplotlib/subscriptions","organizations_url":"https://api.github.com/users/matplotlib/orgs","repos_url":"https://api.github.com/users/matplotlib/repos","events_url":"https://api.github.com/users/matplotlib/events{/privacy}","received_events_url":"https://api.github.com/users/matplotlib/received_events","type":"Organization","site_admin":false},"repo":{"id":1385122,"name":"matplotlib","full_name":"matplotlib/matplotlib","owner":{"login":"matplotlib","id":215947,"avatar_url":"https://avatars.githubusercontent.com/u/215947?v=3","gravatar_id":"","url":"https://api.github.com/users/matplotlib","html_url":"https://github.com/matplotlib","followers_url":"https://api.github.com/users/matplotlib/followers","following_url":"https://api.github.com/users/matplotlib/following{/other_user}","gists_url":"https://api.github.com/users/matplotlib/gists{/gist_id}","starred_url":"https://api.github.com/users/matplotlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matplotlib/subscriptions","organizations_url":"https://api.github.com/users/matplotlib/orgs","repos_url":"https://api.github.com/users/matplotlib/repos","events_url":"https://api.github.com/users/matplotlib/events{/privacy}","received_events_url":"https://api.github.com/users/matplotlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/matplotlib/matplotlib","description":"matplotlib: plotting with Python","fork":false,"url":"https://api.github.com/repos/matplotlib/matplotlib","forks_url":"https://api.github.com/repos/matplotlib/matplotlib/forks","keys_url":"https://api.github.com/repos/matplotlib/matplotlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matplotlib/matplotlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matplotlib/matplotlib/teams","hooks_url":"https://api.github.com/repos/matplotlib/matplotlib/hooks","issue_events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/events{/number}","events_url":"https://api.github.com/repos/matplotlib/matplotlib/events","assignees_url":"https://api.github.com/repos/matplotlib/matplotlib/assignees{/user}","branches_url":"https://api.github.com/repos/matplotlib/matplotlib/branches{/branch}","tags_url":"https://api.github.com/repos/matplotlib/matplotlib/tags","blobs_url":"https://api.github.com/repos/matplotlib/matplotlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matplotlib/matplotlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matplotlib/matplotlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/matplotlib/matplotlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matplotlib/matplotlib/statuses/{sha}","languages_url":"https://api.github.com/repos/matplotlib/matplotlib/languages","stargazers_url":"https://api.github.com/repos/matplotlib/matplotlib/stargazers","contributors_url":"https://api.github.com/repos/matplotlib/matplotlib/contributors","subscribers_url":"https://api.github.com/repos/matplotlib/matplotlib/subscribers","subscription_url":"https://api.github.com/repos/matplotlib/matplotlib/subscription","commits_url":"https://api.github.com/repos/matplotlib/matplotlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/matplotlib/matplotlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/matplotlib/matplotlib/contents/{+path}","compare_url":"https://api.github.com/repos/matplotlib/matplotlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matplotlib/matplotlib/merges","archive_url":"https://api.github.com/repos/matplotlib/matplotlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matplotlib/matplotlib/downloads","issues_url":"https://api.github.com/repos/matplotlib/matplotlib/issues{/number}","pulls_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls{/number}","milestones_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones{/number}","notifications_url":"https://api.github.com/repos/matplotlib/matplotlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/labels{/name}","releases_url":"https://api.github.com/repos/matplotlib/matplotlib/releases{/id}","created_at":"2011-02-19T03:17:12Z","updated_at":"2015-08-10T05:41:53Z","pushed_at":"2015-08-10T13:16:26Z","git_url":"git://github.com/matplotlib/matplotlib.git","ssh_url":"git@github.com:matplotlib/matplotlib.git","clone_url":"https://github.com/matplotlib/matplotlib.git","svn_url":"https://github.com/matplotlib/matplotlib","homepage":"http://matplotlib.org/","size":272479,"stargazers_count":2724,"watchers_count":2724,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1400,"mirror_url":null,"open_issues_count":600,"forks":1400,"open_issues":600,"watchers":2724,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4894"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/4894"},"issue":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/4894"},"comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/4894/comments"},"review_comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4894/comments"},"review_comment":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4894/commits"},"statuses":{"href":"https://api.github.com/repos/matplotlib/matplotlib/statuses/eb5c74b2fd00a477fd9f4d22d9ea9eb210cfb147"}}}}