MuseScore
MuseScore copied to clipboard
Staves/systems overflowing right margin
Issue type
Engraving bug (incorrect score rendering)
Bug description
Musescore 4.3.2 Musescore 4.2.0
Steps to reproduce
- New score. Piano grand staff
- In Page settings windwo > set right margin = 0
- Select the 1st measure. In Measure properties window > set to 6/4
- Enter a dotted minim onto the 3rd beat of m1
- Add a breath mark
- Either a. Under Instruments panel, close Bass clef's eye to hide staff, or b. in Bass clef's Staff/Part properties window > set Hide when empty = always
Screenshots/Screen recordings
No response
MuseScore Version
4.3.2
Regression
Yes. Used to work on Musescore 3.x and now it's broken.
Operating system
Windows 11 and Linux (Ubuntu 22.04LTS)
Additional context
No response
Stems from https://musescore.org/en/node/365969, and came up before in https://musescore.org/en/node/365879
About Regression: The steps are for musescore 4. On musescore 3, layout overflowing is present although following these steps does not create it. (still figuring out MRE)
Reminds me a little bit of https://github.com/musescore/MuseScore/issues/23441, although that's a bit of a long shot
correction: this particular issue does not happen on musescore 3. Overflowing (musescore3) I mentioned in an earlier post could be mostly likely due to misuse of lyrics object (lots of blankspaces), which should be unrelated to this issue.
I'm pretty sure this is fixed by https://github.com/musescore/MuseScore/pull/22135 which was to fix https://github.com/musescore/MuseScore/issues/7819
https://github.com/musescore/MuseScore/pull/22135 would only fix the on-screen drawing though, and not the underlying layout problem. When the right margin is 0, the system should end at the edge of the page, and not beyond. Whether it is drawn beyond the edge or clipped, is a different issue and ultimately doesn't matter a lot because for pdf/png export the result will be equally bad either way.
True, but it still shouldn't draw off the edge of the page!