Title: Changes to cursor position without mouse event · Issue #7581 · matplotlib/matplotlib · GitHub
Open Graph Title: Changes to cursor position without mouse event · Issue #7581 · matplotlib/matplotlib
X Title: Changes to cursor position without mouse event · Issue #7581 · matplotlib/matplotlib
Description: This both affects the current tool system and the MEP22 toolmanager. The cursor position only gets updated when the canvas detects a cursor motion, which leads to problems 1) immediately after switching fullscreen and 2) if alt-tab'ing t...
Open Graph Description: This both affects the current tool system and the MEP22 toolmanager. The cursor position only gets updated when the canvas detects a cursor motion, which leads to problems 1) immediately after swit...
X Description: This both affects the current tool system and the MEP22 toolmanager. The cursor position only gets updated when the canvas detects a cursor motion, which leads to problems 1) immediately after swit...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/7581
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Changes to cursor position without mouse event","articleBody":"This both affects the current tool system and the MEP22 toolmanager.\r\n\r\nThe cursor position only gets updated when the canvas detects a cursor motion, which leads to problems 1) immediately after switching fullscreen and 2) if alt-tab'ing to change window focus, moving the cursor and alt-tab'ing back to the original canvas. With either case, the x-y position printed in the status bar is incorrect and it is possible for keyboard shortcuts (e.g.) \"g\" or \"l\" to end up affecting a \"wrong\" axes.\r\n\r\nThere is a length comment regarding this in the tkagg backend implementation (`_update_pointer_position`) but even that backend doesn't handle this properly.\r\n\r\nUltimately I think(?) the correct way to solve this is to do away with `_lastx/_lasty` and just refetch the cursor position whenever a LocationEvent must be emitted.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2016-12-07T05:04:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/7581/matplotlib/issues/7581"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:63a50137-ef25-349c-bc99-dbc15124b1bc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3DE:242722:AA2A0B:E5FB36:6A53144F |
| html-safe-nonce | 38b5a96d11ac37bf9fa0f9143ffc959392ce0235069f4f9dcd9b13dc0b8e955c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0RFOjI0MjcyMjpBQTJBMEI6RTVGQjM2OjZBNTMxNDRGIiwidmlzaXRvcl9pZCI6IjcwMjM3NDc2MTIyMTkyMTY5NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a35d74ee0a57cd6bfcf730887b7d574a8c21979c2d5b79d06dfcfd83cc3b149 |
| hovercard-subject-tag | issue:193959031 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/7581/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7d72b9521f9d33b80780b59ffedcbfc2d49a2b83c5a8f5f078016815527eeeb0/matplotlib/matplotlib/issues/7581 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d72b9521f9d33b80780b59ffedcbfc2d49a2b83c5a8f5f078016815527eeeb0/matplotlib/matplotlib/issues/7581 |
| og:image:alt | This both affects the current tool system and the MEP22 toolmanager. The cursor position only gets updated when the canvas detects a cursor motion, which leads to problems 1) immediately after swit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width