Quote:
Originally Posted by KevinH
Okay, at least on macOS there is a race between the restoreState (which happens on first show) and the restoreGeometry (which must happen first!) because the call to showMaximized or showFullScreen sometimes forced the MainWindow to be activated/shown before we even had a chance to read in the state to be restored.
I have just fixed this by moving the reading the state in earlier so it is ready to be restored before any race can happen.
This fixes the moved Table of Contents bug when Maximized on macOS.
I have high hopes this "fix" will also fix this off by 1 or more thing for Windows too.
|
I need to check this on Windows. I forgot about it while debugging the other crash!