musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.33k stars 2.66k forks source link

Section break is unlinked with parts and may cause score corruption #24970

Open mercuree opened 1 month ago

mercuree commented 1 month ago

Issue type

File corruption

Description with steps to reproduce

  1. Create score with one or more staves
  2. Open parts
  3. Add section break
  4. Save/close/reopen
  5. a) Removed section break in full score remains in parts b) changing rest in a measure with section break will make score corrupted

Supporting files, videos and screenshots

https://github.com/user-attachments/assets/09119196-0407-4838-9ee3-d17ab5b707ae

https://github.com/user-attachments/assets/200ddaef-1adc-419d-9724-2fd5e25dd0b2

What is the latest version of MuseScore Studio where this issue is present?

MuseScore Studio version (64-bit): 4.5.0-242730311, revision: github-musescore-musescore-5fd9c73

Regression

I was unable to check

Operating system

windows 10

Additional context

I could reproduce in MS 4.0.2, 4.3.2, 4.4.2, 4.5.0 nightly This issue is based on report from musescore.org, although I was unable to reproduce the original problem with extra measures.

Checklist