View Single Post
Old 09-03-2024, 03:40 PM   #101
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,914
Karma: 6120478
Join Date: Nov 2009
Device: many
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.

Last edited by KevinH; 09-03-2024 at 03:53 PM.
KevinH is online now   Reply With Quote