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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix windows closing issues #502

Merged
merged 5 commits into from
Dec 17, 2019
Merged

Fix windows closing issues #502

merged 5 commits into from
Dec 17, 2019

Conversation

banesullivan
Copy link
Member

@banesullivan banesullivan commented Dec 14, 2019

Close #501

Resolve #186 and resolve #500 and resolve #418

It's finally figured out and fixed 馃帀 In the GIF below, you can see me use the exit button in the GUI and nothing crashes (#500), THEN I run the next code cell and it doesn't close itself out of nowhere (#186 (comment))!

2019-12-14 13 11 37

@banesullivan banesullivan mentioned this pull request Dec 14, 2019
2 tasks
@banesullivan banesullivan added bug-fix priority-high This is a fairly serious issue/feature request that needs to be addressed. labels Dec 14, 2019
@banesullivan banesullivan added this to the 0.23.0 milestone Dec 14, 2019
Copy link
Contributor

@GuillaumeFavelier GuillaumeFavelier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it myself and everything works as expected, great work @banesullivan !
Also, I just saw a few typos.

I'm tempted to add a warning here if the user is on Windows saying:

Please use the q-key to close the Plotting window when using a Windows computer as screenshots may not be properly captured when using the exit button

+1 for a warning or at least a comment about it in the code

pyvista/plotting/plotting.py Outdated Show resolved Hide resolved
pyvista/plotting/plotting.py Outdated Show resolved Hide resolved
@banesullivan
Copy link
Member Author

Okay, this should be good to go now! I added a note about the q-key in the Notes section of the docstring, so hopefully, people will see that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-high This is a fairly serious issue/feature request that needs to be addressed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash after closing figure window Matplotlib inline vs. Qt backend issues exit button causes crash
3 participants