Title: [Bug]: Constrained pan/zoom doesn't work on GNOME/Wayland · Issue #23436 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Constrained pan/zoom doesn't work on GNOME/Wayland · Issue #23436 · matplotlib/matplotlib
X Title: [Bug]: Constrained pan/zoom doesn't work on GNOME/Wayland · Issue #23436 · matplotlib/matplotlib
Description: Bug summary With any backend I've tested so far (TkAgg / QtAgg / GTK3Agg, installed from conda-forge), beginning a zoom and then press x or y stops input entirely. Pressing a key first before the mouse also prevents the mouse from moving...
Open Graph Description: Bug summary With any backend I've tested so far (TkAgg / QtAgg / GTK3Agg, installed from conda-forge), beginning a zoom and then press x or y stops input entirely. Pressing a key first before the m...
X Description: Bug summary With any backend I've tested so far (TkAgg / QtAgg / GTK3Agg, installed from conda-forge), beginning a zoom and then press x or y stops input entirely. Pressing a key first before t...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/23436
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Constrained pan/zoom doesn't work on GNOME/Wayland","articleBody":"### Bug summary\r\n\r\nWith any backend I've tested so far (TkAgg / QtAgg / GTK3Agg, installed from `conda-forge`), beginning a zoom and then press `x` or `y` stops input entirely. Pressing a key first before the mouse also prevents the mouse from moving. Once the key is released, the mouse can move again.\r\n\r\n### Actual outcome\r\n\r\nPressing _any_ key (that doesn't trigger an immediate effect) actually freezes the mouse on Fedora Workstation (tested by me) and Ubuntu (tested by @matthewfeickert); both use GNOME on Wayland.\r\n\r\nOn Awesome over X, the key/mouse combo works (tested by @tacaswell).\r\n\r\n### Expected outcome\r\n\r\nZooming with `x`/`y` are constrained to the specified direction.\r\n\r\n### Additional information\r\n\r\nIf we could find someone running GNOME on X, or KDE on Wayland, we could determine whether this is specific to one or the other.\r\n\r\nThis also appears to happen in e.g., Firefox or GNOME Text Editor, so it's a general thing, but as you should be able to mix mouse events and keys in games, there _should_ be a way somewhere to enable that. But if not, we may have to change constraints to use real modifier keys, i.e., shift/ctrl/alt.\r\n\r\n### Matplotlib Version\r\n\r\n37ccdca5028725b3b9d689b42947b6284a73d690","author":{"url":"https://github.com/QuLogic","@type":"Person","name":"QuLogic"},"datePublished":"2022-07-16T20:32:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/23436/matplotlib/issues/23436"}
| 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:d75b0f2e-4ac0-69a3-1fd4-fc02d89e7cd4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9702:130837:1150617:1788575:6A52141E |
| html-safe-nonce | 9403dc9f619cbbbd675b9018433808ec50a11f753037adbe6fb520040b8d277f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzAyOjEzMDgzNzoxMTUwNjE3OjE3ODg1NzU6NkE1MjE0MUUiLCJ2aXNpdG9yX2lkIjoiMjg0ODkyNDUyMzAxNjg4NTI3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d78f58bd28094f3ed3b83a733421ed49d6ccd10be04a7a439f55e534e547f154 |
| hovercard-subject-tag | issue:1306896727 |
| 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/23436/issue_layout |
| twitter:image | https://opengraph.githubassets.com/94ef1c692772773b5cc62dc3806b3cccc64c972863a35537ea888c0cfc124197/matplotlib/matplotlib/issues/23436 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/94ef1c692772773b5cc62dc3806b3cccc64c972863a35537ea888c0cfc124197/matplotlib/matplotlib/issues/23436 |
| og:image:alt | Bug summary With any backend I've tested so far (TkAgg / QtAgg / GTK3Agg, installed from conda-forge), beginning a zoom and then press x or y stops input entirely. Pressing a key first before the m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | QuLogic |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width