musescore / musescore/MuseScore
A horizontal frame with width=0 is not saved correctly
Open
Nobody has claimed this yet.
engraving
P3
regression MS3
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
Engraving bug (incorrect score rendering)
Bug description
A horizontal frame with a width = 0 has its width not correctly saved.
Setting the width to 0 is possible and rendered correctly. Nevertheless after saving and reopening, the width is back to its default value: 5 (and rendered accordingly).
Steps to reproduce
- Add an horizontal frame in the score
- Set its width to 0
- Save and close the score.
- Reopen the score
- The frame has a width of 5
Screenshots/Screen recordings
Score with 2 frames:
- between measure 1-2. With a zero width on the main score, and a non-zero width on the part.
- between measure 2-3. With a non-zero width on the main score, and a zero width on the part.
As saved/Expected
Main score
Part
As reopened
Main score
Part
MuseScore Version
4.2.1
Regression
Yes, this used to work in MuseScore 3.x and now is broken
Operating system
Windows10
Additional context
Regression:
- It used to work with MU 3.6
- A correct 3.6 file is not loaded correctly with MU4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.