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

Use Qt::QueuedConnection for language message box to avoid hang on iOS #3411

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

ann0see
Copy link
Member

@ann0see ann0see commented Oct 13, 2024

Short description of changes

Due to https://bugreports.qt.io/browse/QTBUG-64577 on iOS a Qt::QueuedConnection is necessary on the message box shown if the language changes. Otherwise, the message box would never show up and changing the language would hang the app.

CHANGELOG: iOS: Fix app hang if the language was changed

Context: Fixes an issue?

Related to: #3406

Does this change need documentation? What needs to be documented and how?

No
Status of this Pull Request

Ready for review. Tested on iOS 17 and Debian. Both show the message as expected.

What is missing until this pull request can be merged?

Nothing

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

Due to https://bugreports.qt.io/browse/QTBUG-64577 on iOS a Qt::QueuedConnection is necessary. Otherwise, the message box would never show up and hang the app.
@ann0see ann0see added bug Something isn't working iOS iOS runtime issue labels Oct 13, 2024
@ann0see ann0see added this to the Release 3.12.0 milestone Oct 13, 2024
Copy link
Member

@softins softins left a comment

Choose a reason for hiding this comment

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

Looks reasonable.

@ann0see ann0see merged commit 18285f9 into jamulussoftware:main Oct 14, 2024
11 checks passed
@ann0see ann0see deleted the iOS/FixLangBox branch October 14, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working iOS iOS runtime issue
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants