laccore / coretools

PSICAT: Initial Core Description software for Windows and macOS/OSX
https://cse.umn.edu/csd/psicat
Apache License 2.0
14 stars 0 forks source link

Main window doesn't appear if last-known display isn't available #6

Open sorghumking opened 4 years ago

sorghumking commented 4 years ago

If the PSICAT or SchemeEditor window was last positioned in a secondary monitor that is no longer available at launch, the window doesn't appear.

The app should recognize that the last-used position is invalid and revert to a default position on the main display to guarantee the main window appears at launch.

Relevant code can be found in: tools/PSICAT/griffon-app/views/psicat/PSICATView.groovy tools/SchemeEditor/griffon-app/views/SchemeEditorView.groovy