Title: [MNT]: Generalize widget mouse testing · Issue #22720 · matplotlib/matplotlib · GitHub
Open Graph Title: [MNT]: Generalize widget mouse testing · Issue #22720 · matplotlib/matplotlib
X Title: [MNT]: Generalize widget mouse testing · Issue #22720 · matplotlib/matplotlib
Description: Summary Mouse testing for RangeSlider widget is not supported in the current widget testing framework. The current mouse testing for widgets is done using the click_and_drag function, but it has no support for widgets without 'press' eve...
Open Graph Description: Summary Mouse testing for RangeSlider widget is not supported in the current widget testing framework. The current mouse testing for widgets is done using the click_and_drag function, but it has no...
X Description: Summary Mouse testing for RangeSlider widget is not supported in the current widget testing framework. The current mouse testing for widgets is done using the click_and_drag function, but it has no...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22720
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[MNT]: Generalize widget mouse testing","articleBody":"### Summary\n\nMouse testing for RangeSlider widget is not supported in the current widget testing framework. The current mouse testing for widgets is done using the ```click_and_drag``` function, but it has no support for widgets without 'press' events.\n\n### Proposed fix\n\nThe ```click_and_drag``` function should be generalized in order to support more widgets. One solution would be adding support for sending events through the canvas.\r\n\r\nThis potential solution is mentioned here by @ianhi:\r\nhttps://github.com/matplotlib/matplotlib/pull/22711#discussion_r836543595\r\n\r\n","author":{"url":"https://github.com/andrew-fennell","@type":"Person","name":"andrew-fennell"},"datePublished":"2022-03-28T18:01:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/22720/matplotlib/issues/22720"}
| 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:71bdec77-dad0-57bb-cd3d-77058e974921 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3DC:273DA9:8B55B6:B90879:6A5181EF |
| html-safe-nonce | 8fefde2f4d7e3f66e5cdb275b287fc650097e596afebb0e3dcb226e47a41d917 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0RDOjI3M0RBOTo4QjU1QjY6QjkwODc5OjZBNTE4MUVGIiwidmlzaXRvcl9pZCI6Ijc1MDU2MDUzMDQ5MDU1NjkxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ee8ce9ccbc78eb3355dbb72418ea5eef55d01bfaea3b96bb601b6dcd25b36169 |
| hovercard-subject-tag | issue:1183791644 |
| 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/22720/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c36126fcd52ebf29c26e37c8b94b4fa21dc836f923c2be70a4f6f5549462cf5/matplotlib/matplotlib/issues/22720 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c36126fcd52ebf29c26e37c8b94b4fa21dc836f923c2be70a4f6f5549462cf5/matplotlib/matplotlib/issues/22720 |
| og:image:alt | Summary Mouse testing for RangeSlider widget is not supported in the current widget testing framework. The current mouse testing for widgets is done using the click_and_drag function, but it has no... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andrew-fennell |
| 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 | d01c62704ef24df49056c63892a149b775e1353d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width