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
[MU4 Issue] MacOS Crash on Plugin with TextField Component #19326
Comments
The plug-ins do not crash in 4.0, crash first appeared in 4.1 |
Seems the bug doesn't reproduce on Windows 11 |
The crash seems to happen deep inside Qt. As a workaround (or better solution anyway), you can use A possible cause of the crash might be the switch to Qt 5.15.9. That has happened only on macOS, and indeed between 4.0.2 and 4.1.0. Since QtQuick.Controls 1.0 is deprecated by Qt anyway, I don't know if this should be a top priority. |
One issue with QtQuick.Controls 2.15 is the UI. With Controls 1.0, the MuseScore look-and-feel is inherited. But with 2.0+, it reverts to the native style, at least on macOS. I believe this is why many plugins still use QtQuick Controls 1.0: the code is simple and the UI looks good by default, thanks to MS controls. If there was a way to keep the MuseScore style (either by importing a MuseScore controls folder or using delegates), then I'm all for switching to Controls 2.0+. But currently documentation about this (within MS) is lacking. |
You can import MuseScore's own controls using |
Ah cool, thanks for the pointers. I'll play around with MuseScore's QML components then. |
Is QtQuick.Controls 2.2 save too? 2.15 is not available for Mu3 (Qt 5.9), so that'd otherwise break the dual compatibility plugins |
Yes, the differences between different 2.x versions should not be too big |
Issue type
Crash or freeze
Bug description
Greetings! When opening a plugin containing a
TextField
component, the MS app crashes. Replacing theTextField
component withTextInput
or simply removing it, seems to fix the issue.Steps to reproduce
You can also use this plugin to test:
Screenshots/Screen recordings
No response
MuseScore Version
4.1.1
Regression
Yes, this used to work in MuseScore 3.x and now is broken
Operating system
macOS 12.6.8
Additional context
I have reason to suspect this issue also occurs with macOS 13 Ventura. Also MS 4.1.1.
Logs for Modal-Temperaments plugin with
TextField
.Sometimes the order of the middle two lines are reversed:
Similar messages even with the debug flag enabled (
-d
).On checking the
/Users/redacted/Library/Application Support/MuseScore/MuseScore4/logs/dumps/attachments/
folder, no files could be found.The text was updated successfully, but these errors were encountered: