-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Tempo line click and drag to beginning of score crash #22934
Comments
Alright, I’ve investigated this but haven’t found a satisfying fix just yet. Posting my findings for now, will return to this later with fresh eyes. The moment the right grip is dragged beyond the problematic point, the We then get a layout call which resets the explicit parent. Whatever the “invalid state” is exactly (I'm still figuring this out), it prevents the LineSegment from being re-assigned an explicit parent during the layout. This is eventually what causes the crash at the next drag event ( |
I can no longer reproduce this in the latest nightly. |
Issue type
Crash or freeze
Bug description
If you click/drag the tail of a tempo line and send it to the beginning of the score, MuseScore crashes.
In Master, not 4.3.1
Steps to reproduce
Screenshots/Screen recordings
2024-05-21.16-48-05.mp4
MuseScore Version
OS: Windows 11 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.4.0-241420305, revision: github-musescore-musescore-449a64e
Regression
Yes, this used to work in a previous version of MuseScore 4.x
Operating system
All
Additional context
TempoLineCrash.zip
The text was updated successfully, but these errors were encountered: