Skip to content

Qtfred error checker#7389

Open
MjnMixael wants to merge 6 commits intoscp-fs2open:masterfrom
MjnMixael:qtfred-error-checker
Open

Qtfred error checker#7389
MjnMixael wants to merge 6 commits intoscp-fs2open:masterfrom
MjnMixael:qtfred-error-checker

Conversation

@MjnMixael
Copy link
Copy Markdown
Contributor

Activates and greatly enhances the error checker in QtFRED. Instead of just one popup per issue causing an annoying stream of popups this version aggregates all errors and shows them in a single dialog with various error levels. It also tries not to silently modify mission data but has a feature to automatically fix simple problems, changing unclear implicit behavior to explicit.

Part of getting this to work is silencing mission errors during parse so that QtFRED can rely on the error checker to handle that more gracefully. Error Checker here explicitly does not handle mod data related errors so those popups remain. So I've added a QtFred_running variable here so that FRED2's behavior is unaffected. Once FRED2 is fully deprecated, QtFred_running can be merged with Fred_running.

I fully expect the error levels here to be adjusted either during PR review or later during testing. The idea of critical errors, warnings, potential issues, etc was unclear in the old system as it was all sorta jumbled together. The new Error Checker class here tries to unjumble it and make it much clearer to designers what needs to happen with each issue.

I think more can be done here to make this more powerful and clear, but this has grown beyond my original scope already and I think it's in a good enough place to start.

@wookieejedi wookieejedi added the qtfred A feature or issue related to qtFred. label Apr 19, 2026
@github-project-automation github-project-automation Bot moved this to Work In Progress (PRs) in qtFRED2 Apr 19, 2026
@MjnMixael MjnMixael force-pushed the qtfred-error-checker branch from 712767d to adff82e Compare April 20, 2026 12:57
@MjnMixael MjnMixael force-pushed the qtfred-error-checker branch from adff82e to 5b46bf0 Compare April 23, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

qtfred A feature or issue related to qtFred.

Projects

Status: Work In Progress (PRs)

Development

Successfully merging this pull request may close these issues.

2 participants