Repository navigation
Fix/project load threaded progress crash - #123
Merged
kewh5868 merged 3 commits intoMay 14, 2026
Merged
Conversation
…progress-updates Marshal project-load progress updates to the GUI thread via Qt signal/slot
Owner
|
@KWWyatt Just a heads up, the issue tag needs to be in the PR before it gets merged, not sure if it ws here or not but it didn't auto-close this time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes issue #122
Summary
Fixes a crash when opening an existing project during the progress bar/project-loading stage.
The crash appeared to come from Qt GUI updates being triggered from the worker thread. This change routes project-load progress through a signal so UI updates are handled on the main Qt thread.
Testing
Tested locally by launching SAXSShell and opening the existing project that previously crashed during loading. The project now opens successfully without the QObject cross-thread error.