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

Mac: Use InvokeOnMainThread instead of DispatchQueue #2597

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

cyanfish
Copy link
Contributor

Looks like this was changed in 6bc3a3b but it doesn't look like a necessary part of the commit?

The DispatchQueue doesn't always work as it ignores the run loop mode (see https://stackoverflow.com/a/9336253/2112909).

Without this change in some cases opening a modal dialog (a common use case for Invoke) caused weird behavior on Mac (empty uninteractible form) while Windows and Linux worked fine.

The DispatchQueue doesn't always work as it ignores the run loop mode (see https://stackoverflow.com/a/9336253/2112909).

Without this change in some cases opening a modal dialog (a common use case for Invoke) caused weird behavior on Mac (empty uninteractible form) while Windows and Linux worked fine.
@cwensley
Copy link
Member

I think this had some impact on the performance at the time I was working on it. I don't think that performance hit is an issue anymore. Thanks for the contribution!

@cwensley cwensley merged commit b07be37 into picoe:develop Feb 26, 2024
3 checks passed
@cwensley cwensley added this to the 2.8.3 milestone Feb 26, 2024
@cwensley cwensley added the bug label Feb 26, 2024
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.

2 participants