Title: Segfault from path editor example with QtAgg · Issue #28002 · matplotlib/matplotlib · GitHub
Open Graph Title: Segfault from path editor example with QtAgg · Issue #28002 · matplotlib/matplotlib
X Title: Segfault from path editor example with QtAgg · Issue #28002 · matplotlib/matplotlib
Description: I was playing with the path editor example and found that with QtAgg if I resize the window I get QWidget::repaint: Recursive repaint detected QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine...
Open Graph Description: I was playing with the path editor example and found that with QtAgg if I resize the window I get QWidget::repaint: Recursive repaint detected QWidget::paintEngine: Should no longer be called QPain...
X Description: I was playing with the path editor example and found that with QtAgg if I resize the window I get QWidget::repaint: Recursive repaint detected QWidget::paintEngine: Should no longer be called QPain...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/28002
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Segfault from path editor example with QtAgg","articleBody":"I was playing with the [path editor](https://matplotlib.org/stable/gallery/event_handling/path_editor.html) example and found that with QtAgg if I resize the window I get\r\n```\r\nQWidget::repaint: Recursive repaint detected\r\nQWidget::paintEngine: Should no longer be called\r\nQPainter::begin: Paint device returned engine == 0, type: 1\r\nQPainter::end: Painter not active, aborted\r\nSegmentation fault (core dumped)\r\n```\r\nRemoving the blit line from draw as proposed at #11431 fixes this for me. TkAgg works fine whether the blit line is there or not.\r\n\r\nI am on Ubuntu 22.04 and tested this with `main`.\r\n\r\n_Originally posted by @rcomer in https://github.com/matplotlib/matplotlib/issues/11431#issuecomment-2029655101_\r\n ","author":{"url":"https://github.com/rcomer","@type":"Person","name":"rcomer"},"datePublished":"2024-04-01T16:22:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/28002/matplotlib/issues/28002"}
| 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:c60f10e8-839c-f3e6-1115-86575005c5a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E282:2521B5:1020316:15F32C4:6A52282E |
| html-safe-nonce | 23d908ac74ed4503e03ed3711a09e50ee3c9fff38912f150dbdb8281d2d05140 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjgyOjI1MjFCNToxMDIwMzE2OjE1RjMyQzQ6NkE1MjI4MkUiLCJ2aXNpdG9yX2lkIjoiMzgwODk4NzU1NTIyNzM0MTI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 272545538f48a0a3e9c7a690d7f6b73cd9688a14835d8007d2faffe71d26d75a |
| hovercard-subject-tag | issue:2218602142 |
| 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/28002/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e48ac2b2c3e917e9d14a9e22a51807e6fbd3c7d288f61037b41b11c60a146501/matplotlib/matplotlib/issues/28002 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e48ac2b2c3e917e9d14a9e22a51807e6fbd3c7d288f61037b41b11c60a146501/matplotlib/matplotlib/issues/28002 |
| og:image:alt | I was playing with the path editor example and found that with QtAgg if I resize the window I get QWidget::repaint: Recursive repaint detected QWidget::paintEngine: Should no longer be called QPain... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rcomer |
| 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 | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width