Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Don't associate Wx timers with the parent frame.#11590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

anntzer
Copy link
Contributor

This is consistent with the behavior on Qt and GTK, and avoids a
segfault due to lack of disconnection of the timer after the parent
widget is destroyed (otherwise, we'd need to keep track of timers
associated with each widget and tear them down when the widget is
destroyed).

Closes#11582.

Marking as release-critical per "fixes a segfault", though not a regression so not insisting on it.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@anntzeranntzer added Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. GUI: wx labelsJul 6, 2018
@anntzeranntzer added this to thev3.0 milestoneJul 6, 2018
@tacaswelltacaswell modified the milestones:v3.0,v2.2.3Jul 7, 2018
@tacaswell
Copy link
Member

This looks like it also fixes#11578 for wxagg and changes the failure on wx to a timeout.

Can you rebase this on master and re-enable the wxagg tests?

@anntzer
Copy link
ContributorAuthor

done

@anntzer
Copy link
ContributorAuthor

Doesn't segfault travis anymore, but still fails (as you noted, on a timeout). Let's keep this wx test disabled?

@tacaswell
Copy link
Member

Yes, leavewx disabled, but reanablewxagg.wx is deprecated aynway.

@anntzer
Copy link
ContributorAuthor

I'm puzzled why wx fails when wxagg works (they should share the same code re: interactivity), but sure...

@tacaswell
Copy link
Member

Given that it is timing out probably something subtle in the draw / render / put the window on the (fake) screen process?

@anntzer
Copy link
ContributorAuthor

Well, that still fails. Let's just get rid of the wx test.

This is consistent with the behavior on Qt and GTK, and avoids asegfault due to lack of disconnection of the timer after the parentwidget is destroyed (otherwise, we'd need to keep track of timersassociated with each widget and tear them down when the widget isdestroyed).
@tacaswell
Copy link
Member

@DietmarSchwertberger Can you review this?

@tacaswelltacaswell modified the milestones:v2.2.3,v3.0Jul 9, 2018
@DietmarSchwertbergerDietmarSchwertberger merged commitc4aebac intomatplotlib:masterJul 9, 2018
@DietmarSchwertberger
Copy link
Contributor

Looks good to me. Pending events are the most common source of segfaults...

@tacaswell
Copy link
Member

Thanks@DietmarSchwertberger !

@anntzeranntzer deleted the parentlesswxtimers branchJuly 10, 2018 09:16
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

@DietmarSchwertbergerDietmarSchwertbergerDietmarSchwertberger approved these changes

Assignees
No one assigned
Labels
GUI: wxRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Milestone
v3.0.0
Development

Successfully merging this pull request may close these issues.

wx segfault
3 participants
@anntzer@tacaswell@DietmarSchwertberger

[8]ページ先頭

©2009-2025 Movatter.jp