-
Notifications
You must be signed in to change notification settings - Fork 25
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
Mac app does not alert user if EPW is reset on open #659
Comments
Testing with https://github.com/rd2/tbd/blob/402f9f5acaa95e85bfdae33d28ea115e125db683/spec/files/osms/in/warehouse.osm#L6865-L6877 On Ubuntu, no issue. But I can reproduce the lockup of the App on Mac M1 (regardless of whether I use the classic or the C++ CLI) |
Seems like the issue is the two QMessageBox atop each other or something. It makes the mainwindow lose the focus I think. If I comment out the lines here: OpenStudioApplication/src/openstudio_lib/OSDocument.cpp Lines 356 to 357 in a1f218a
then it works fine. If I make it a direct call (not a QTimer::singleShot) it also works, but the second qmessagebox isn't showed. The one triggered from
I've also tried making the QMessageBox::warning point to a I've also tried moving the call after the waitDialog is hidden and the state of the MainWindow is restored, but OpenStudioApplication/src/openstudio_lib/OSDocument.cpp Lines 300 to 309 in a1f218a
TL;DR: I don't know how to properly fix this one. As a workaround we can hide the dialog box. @macumber Any ideas? |
Bad workaround for now at #663 |
Downgraded to regular bug since crash is fixed |
New scope of this bug would be to re-enable the warning to the user on Mac |
Issue overview
Reported by @brgix in detail here #653 (comment)
Details
Environment
Some additional details about your environment for this issue (if relevant):
The text was updated successfully, but these errors were encountered: