fix: start page always closes on document open #207
Reference in New Issue
Block a user
Delete Branch "fix/start-page-blocks-document"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #192
Problem
The start page tab persists after opening a document, blocking workflow and causing hangs on close.
Two root causes:
postStart()checksGetBool("closeStart", false)— default isfalse, so the start page never auto-closes after a document action.When another MDI tab activates,
onMdiSubWindowActivated()disables all QListView updates on the start page. If the widget is then destroyed with updates disabled, Qt can hang during cleanup.Fix
closeStartpreference gate — always close the start page when a document is opened or createdsetListViewUpdatesEnabled(true)before closing to prevent the hanghideEventoverride as a safety net to re-enable updates whenever the start page is hidden