View Single Post
Old 09-04-2024, 10:03 AM   #104
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,675
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
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!
DiapDealer is offline   Reply With Quote