-
Notifications
You must be signed in to change notification settings - Fork 15.8k
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
Closing window with -webkit-app-region:drag
regions crashes on Mac OS X
#3669
Comments
Electron recomputes the draggable regions when window is resized, it seems that OS X is resizing the window when it is closed. |
I'm able to consistently replicate this when I have chrome dev tools open on a separate window and I quit electron directly with |
Never saw similar reports recently, I believe it was a bug of OS X and got fixed then. |
Hey folks—we've seen a handful of reports of this happening with Electron 1.4.1 again. Same stack trace. I'm trying to narrow it down and will post again if there's any more info. |
@zcbenz we are also seeing this issue. here are the steps that lead to the crash in our case:
Dump:
|
@zcbenz @kevinsawicki this should probably be reopened, we have a repro:
|
Hm, does not repro with latest. I suspect that this was fixed as part of the change to disable tabs for Electron apps. So this bug seems only to happen when you are using the native tabs feature of Sierra. I am closing this again, but it might come back once Electron officially supports Sierra tabs. |
This is the change I was referring to: #7415 |
Since moving to Electron 0.35+, we've had intermittent reports of the app crashing when the user goes to close a window that has draggable regions on Mac OS X (nylas/nylas-mail#519). Here's the crash log:
I think this is related to #3163—it looks like the app is trying to re-compute draggable regions, but /after/ the window has been closed? Will try to create a failure case.
The text was updated successfully, but these errors were encountered: