Title: [Bug]: macOS backend UI doesn't update on 'o' and 'p' shortcuts · Issue #31933 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: macOS backend UI doesn't update on 'o' and 'p' shortcuts · Issue #31933 · matplotlib/matplotlib
X Title: [Bug]: macOS backend UI doesn't update on 'o' and 'p' shortcuts · Issue #31933 · matplotlib/matplotlib
Description: Bug summary Open a figure Press 'o' and 'p' to toggle the Pan/Zoom and Zoom-to-rect tools Notice that the buttons in the UI do not update state Click a button to toggle it, the button toggles, but is still not in sync with the currently ...
Open Graph Description: Bug summary Open a figure Press 'o' and 'p' to toggle the Pan/Zoom and Zoom-to-rect tools Notice that the buttons in the UI do not update state Click a button to toggle it, the button toggles, but ...
X Description: Bug summary Open a figure Press 'o' and 'p' to toggle the Pan/Zoom and Zoom-to-rect tools Notice that the buttons in the UI do not update state Click a button to toggle it, the butt...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/31933
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: macOS backend UI doesn't update on 'o' and 'p' shortcuts","articleBody":"### Bug summary\n\n1) Open a figure\n2) Press 'o' and 'p' to toggle the Pan/Zoom and Zoom-to-rect tools\n3) Notice that the buttons in the UI do not update state\n4) Click a button to toggle it, the button toggles, but is still not in sync with the currently selected tool \n\n### Code for reproduction\n\n```Python\n(Any figure)\n```\n\n### Actual outcome\n\n'o' and 'p' do not update the UI's button state.\n\n### Expected outcome\n\nThe button state of the Pan/Zoom and Zoom-to-rect tools always matches the actual selected tool, like it does in qtagg.\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nmacOS 14.7\n\n### Matplotlib Version\n\ndev / 3.11\n\n### Matplotlib Backend\n\nmacOS\n\n### Python version\n\nPython 3.14.5\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nNone","author":{"url":"https://github.com/iccir","@type":"Person","name":"iccir"},"datePublished":"2026-06-21T03:36:23Z","url":"https://github.com/matplotlib/matplotlib/issues/31933"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:497ef637-8f3d-a864-fd07-99cafd489d45 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D178:C204B:7A44B:A6CBF:6B067198 |
| html-safe-nonce | 348fef0f7adcbdaae7803b86a76e3ece6eb35c272f4ff74dccd9bbf13fc63e32 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTc4OkMyMDRCOjdBNDRCOkE2Q0JGOjZCMDY3MTk4IiwidmlzaXRvcl9pZCI6IjI2ODkzOTQ1NTEyOTg2MTc3NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 951a78c041b476d8298697f2dee3123447175516ef4bc2fafafe032a23f5ba20 |
| hovercard-subject-tag | issue:4709220040 |
| 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/31933/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c321ecc4326c60227e1f4890320450776ccd4b853170793a348f85056ed3170a/matplotlib/matplotlib/issues/31933 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c321ecc4326c60227e1f4890320450776ccd4b853170793a348f85056ed3170a/matplotlib/matplotlib/issues/31933 |
| og:image:alt | Bug summary Open a figure Press 'o' and 'p' to toggle the Pan/Zoom and Zoom-to-rect tools Notice that the buttons in the UI do not update state Click a button to toggle it, the button toggles, but ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iccir |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| 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 | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width