Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove I/O error popup when failing to load/unload extension #82907

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

mihe
Copy link
Contributor

@mihe mihe commented Oct 6, 2023

As discussed in #82861 this removes the modal error popup that happens when you fail to load/unload an extension.

Given that any important error is being (or at least should be) logged to the editor log anyway, and in greater detail there, this popup is almost entirely redundant. It's also quite annoying due to the fact that extension loading gets retried what seems like every couple of seconds, as well as when the editor gains focus, which makes the modal nature of this popup quite frustrating.

@mihe
Copy link
Contributor Author

mihe commented Oct 6, 2023

This spelling error ("veryfied") is unrelated to the PR but seems to be caught in codespell anyway. Do I still fix it?

@akien-mga
Copy link
Member

This spelling error ("veryfied") is unrelated to the PR but seems to be caught in codespell anyway. Do I still fix it?

I fixed it with 373c4b2, so you can just rebase.

Sadly the current GitHub action we use to run codespell doesn't let us pin a version of codespell to use, so upstream dictionary updates mean that new typos can be found at any time when modifying a given file.

@mihe mihe force-pushed the gdext-failed-modal branch from 65dda88 to 1a80508 Compare October 6, 2023 11:58
Copy link
Contributor

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't had a chance to test, but I agree with the idea behind this change (that dialog is not useful and overly disruptive) and skimming the code looks good.

@akien-mga akien-mga merged commit dffd320 into godotengine:master Oct 9, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@mihe mihe deleted the gdext-failed-modal branch October 9, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants