EcoGIS / CAPS-Scenario-Builder

The CAPS Scenario Builder will allow government officials, conservation groups and others to submit "scenarios" for proposed changes to land cover and infrastructure so that these changes can be assessed for their impact on ecological integrity.
http://www.umass.edu/landeco/research/caps/caps.html
3 stars 0 forks source link

Calling the Open/save dialog box takes bloody forever on my Win7 machine #38

Closed ghost closed 11 years ago

ghost commented 11 years ago

The open/save dialog box takes 6 or 7 seconds to open, every time. It feels like ten years. Is there anything to be done?

bobenglish commented 11 years ago

Well, it's instantaneous on my Win 7 laptop, so this issue is a real puzzle. It seems like you would have mentioned the problem in an earlier issue if it had been that way since you first installed CSB, so is this something that cropped up after you used the app for a while?

The 'Save dialog" (QFileDialog() is part of QT code (http://qt-project.org/) and does call the native windows dialog "when possible." All the code for QT and Python is in the root directory of the app, so nothing should be machine specific in terms of the code being used. Let's start with this:

(1) Close CSB then reopen it. Immediately click 'Save scenario as' (take a screenshot) and save the scenario with some name. Close the app and go to the root directory of the app/log and send me the 'output.log' file. (2) Send me a screenshot of the dialog you are getting. (3) Does it make any difference whether you click 'Save scenario' or 'Save scenario as...'?

ghost commented 11 years ago

It's been happening all along, as recently as last week when I posted this issue.

And....I started with (1) above, and surprise: it was lightning fast. WTF? A windows update? An interaction with something else running on my machine? Voodoo? I'll keep an eye on it and get the log, etc. if it reoccurs.

bobenglish commented 11 years ago

Whew.... I'm glad that worked out so easily. I've installed CSB on several flavors of windows including a different win 7 machine than mine, and never had the file dialog issue. So let's hope this one was a fluke.