Linux fixes and field plot interaction
Release Notes
The following bugs or enhancements are addressed in this release:
- Linux UI freezing: When running on Linux machines (Ubuntu 14.04, 16.04, Mint), SolarPILOT UI input controls stopped working after switching between pages. The control could still accept text entry or dropdown selection, but would not display the change until switching back and forth between pages or forcing redraw by maximizing the window. The fix involved redrawing the page parent (main window) after the page selection had been updated. Previously, only the selected page and/or the selection control were redrawn.
- Simulation progress gauge freezing on Linux: The performance simulation page and gauge were not switching appropriately due to event processing sequence problems. The performance simulation gauge tended to freeze after being clicked, or especially when F6 was pressed from a page other than the performance simulation page. This issue appeared only on Linux.
- High CPU usage on Linux when idle: The custom InputControl and OutputControl widgets had overloads on the OnPaint method that were causing infinite redraw loops. This resulted in max CPU when pages with those controls were displayed, and also caused issues with the scrollbars on wxScrolledWindows containing these widgets.
- Corrected performance results after removing heliostats: Field layout and cost values weren't correctly updating after heliostats are removed or added.
- Field plot interactivity: New interaction capability with field layout plot:
- Select heliostats with Right mouse
- Multi-select with CTRL+Right
- Displays stats on selected heliostat(s) on plot
- Option to remove selected from layout (disable)
- Option to restore removed heliostats