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:aa93a774-75f1-a48c-15ac-eb87bcf8e9b4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97B2:1EC58F:C4AD:F61E:6A51C8FD |
| html-safe-nonce | 27c65406ee69b8201451d00113a8d2101ca70b6b193bb4d037f96f2b7ba4d74c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0IyOjFFQzU4RjpDNEFEOkY2MUU6NkE1MUM4RkQiLCJ2aXNpdG9yX2lkIjoiNDgwNjIyNjA5MDMxMDg4MzgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2fb3feeab797b498369e02f4886881e8860c89460d89d33bbf70cfa48450bd88 |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width