Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Give created QGraphicsScenes a parent #4352

Merged
merged 1 commit into from
Apr 9, 2020

Conversation

ales-erjavec
Copy link
Contributor

@ales-erjavec ales-erjavec commented Jan 21, 2020

Issue

Ref gh-4284

Fix an runtime error at process exit

Will require biolab/orange-widget-base#37 to be merged and released

Description of changes
  • Give QGraphicsScenes in VennDiagram and BoxPlot a parent the (OWWidget instance). Otherwise the scenes survive until process exit on PyQt 5.14.*
  • Enable testing on PyQt5 5.14 (test still segfault with PyQt5 5.14 at process exit)
Includes
  • Code changes
  • Tests
  • Documentation

@codecov
Copy link

codecov bot commented Jan 22, 2020

Codecov Report

Merging #4352 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4352      +/-   ##
==========================================
- Coverage   83.61%   83.59%   -0.02%     
==========================================
  Files         281      276       -5     
  Lines       56189    55384     -805     
==========================================
- Hits        46982    46301     -681     
+ Misses       9207     9083     -124     

@ales-erjavec ales-erjavec force-pushed the fixes/qgraphicsscene-parent branch 2 times, most recently from 9b65b59 to 491b8a2 Compare January 27, 2020 12:42
@ales-erjavec ales-erjavec force-pushed the fixes/qgraphicsscene-parent branch 2 times, most recently from 27fe548 to ce74a81 Compare February 12, 2020 15:43
Ensure the scene is deleted at the same time as the widget.
Fix an runtime error at process exit when running tests with PyQt 5.14
@ales-erjavec ales-erjavec changed the title [NOMERGE][FIX] Give created QGraphicsScenes a parent [FIX] Give created QGraphicsScenes a parent Apr 1, 2020
@janezd janezd merged commit 0105f41 into biolab:master Apr 9, 2020
@ales-erjavec ales-erjavec deleted the fixes/qgraphicsscene-parent branch August 5, 2020 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants