Skip to content

Port engraving PRs to 4.7.3 - #33585

Merged
miiizen merged 13 commits into
musescore:4.7from
miiizen:473-ports
Jun 8, 2026
Merged

miiizen merged 13 commits into
musescore:4.7from
miiizen:473-ports

Conversation

@miiizen

@miiizen miiizen commented May 26, 2026 •

Copy link
Copy Markdown
Contributor

Ports: #33356
Ports: #33350
Ports: #32557
Ports: #33260
Ports: #33168
Ports: #33556
Ports: #33540
Ports: #33593
Ports: #33469

mikekirin and others added 13 commits June 8, 2026 10:32
The deleted frame would still be referenced by the System that contained it, and that System would be deleted from its Page’s list of systems, but not from the Score’s list of systems. Lucky enough, that seems not to cause crashes normally (as far as I know), but upon closing the score, it does cause a crash: the deleted frame is destroyed by the UndoStack (correctly so), but when the frame's System is destroyed as part of the Score destruction, the deleted frame is referenced again.

Solution: properly remove the System’s reference to the frame, and also properly remove the System and its Page when they become empty. This brings the code in line with `InsertRemoveMeasures::removeMeasures()`.

Resolves: musescore#33518
@mike-spa mike-spa mentioned this pull request Jun 8, 2026
@miiizen
miiizen requested review from mike-spa and removed request for RomanPudashkin June 8, 2026 09:36
@miiizen
miiizen merged commit cf9860c into musescore:4.7 Jun 8, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants