-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Unable to close GLMakie window #2909
Comments
I can't reproduce this on linux or windows. Does your cpu or gpu usage saturate when this happens? |
No, neither CPU nor GPU usage is high. The Julia REPL remains responsive too. And if I quit the Julia REPL, the window closes normally. |
All the "window hangs at close" bugs before were only on Mac, so this seems a variant of those we squashed already. Interesting that it seems connected to the theme edit, we do have display variables in there these days so that could be a lead. |
I am also running into the same issue where the window is not closing consistently. I have not been able to replicate the problem definitively. I use EDIT: |
Does this also happen if you close the first window with |
I have been using the x button on the window to close it. And I'd like user to be able to do that. I've added this: wait(display(figure)) # wait to execute the following code until the window is closed
GLMakie.closeall() It seems to be working fine with this change in a few tests but it's been difficult to consistently replicate the issue. I can report back if the issue persists. |
The latest version of Makie does not expect a using GLMakie
GLMakie.update_theme!(size=(800,600), fontsize=16)
x = [randn() for _ ∈ 1:1_000_000];
lines(x)
# now close the window
lines(x)
# no problem closing the window again This issue might is now resolved? Tested on Mac. |
I can't replicate this on Mac (M1 as well) either. Closing for now. |
To reproduce:
If the call to
GLMakie.update_theme!()
is removed, the closing more often works. However, if I zoom/pan a bit and try it, closing fails again and the window hangs (beachballs).System information
The text was updated successfully, but these errors were encountered: