Skip to content

Fix/project load threaded progress crash - #123

Merged
kewh5868 merged 3 commits into
kewh5868:mainfrom
KWWyatt:fix/project-load-threaded-progress-crash
May 14, 2026
Merged

kewh5868 merged 3 commits into
kewh5868:mainfrom
KWWyatt:fix/project-load-threaded-progress-crash

Conversation

@KWWyatt

@KWWyatt KWWyatt commented May 14, 2026

Copy link
Copy Markdown
Contributor

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.

@kewh5868
kewh5868 merged commit 5b28e19 into kewh5868:main May 14, 2026
1 check passed
@KWWyatt
KWWyatt deleted the fix/project-load-threaded-progress-crash branch May 14, 2026 23:46
@kewh5868

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants