Skip to content

Port engraving PRs to 4.7.3#33585

Open
miiizen wants to merge 11 commits into
musescore:4.7from
miiizen:473-ports
Open

Port engraving PRs to 4.7.3#33585
miiizen wants to merge 11 commits into
musescore:4.7from
miiizen:473-ports

Conversation

@miiizen
Copy link
Copy Markdown
Contributor

@miiizen miiizen commented May 26, 2026

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

@miiizen miiizen requested a review from RomanPudashkin May 26, 2026 16:07
miiizen and others added 5 commits May 28, 2026 11:06
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
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.

5 participants