OpenStudioApplication icon indicating copy to clipboard operation
OpenStudioApplication copied to clipboard

Should freeze the OSApp when changing Library defaults while it's still loading them

Open jmarrec opened this issue 4 years ago • 0 comments

Issue overview

Should freeze the OSApp and display the WaitDialog when changing Library defaults while it's still loading them

Current Behavior

See Steps to reproduce

Expected Behavior

Display WaitDialog until done?

Steps to Reproduce

While investigated https://github.com/openstudiocoalition/OpenStudioApplication/issues/289 I realized that I can click "Change Default Libraries", then add 90.1-2010.osm (which is huge, 20000 objects) and quit the OSApp.

The OpenStudioApp process wasn't returning my prompt in the terminal, so I CTRL+C it. I realized that it's actually still loading them.

If I don't CTRL+C it'll segfault

Possible Solution

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): All
  • Version of OpenStudioApplication (if using an intermediate build, include SHA): v1.2.0-r6

Context

https://github.com/openstudiocoalition/OpenStudioApplication/issues/289

jmarrec avatar Jun 01 '21 07:06 jmarrec