MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

Staves/systems overflowing right margin

Open fp22june opened this issue 1 year ago • 8 comments

Issue type

Engraving bug (incorrect score rendering)

Bug description

ms42overflow

Musescore 4.3.2 Musescore 4.2.0

Steps to reproduce

  1. New score. Piano grand staff
  2. In Page settings windwo > set right margin = 0
  3. Select the 1st measure. In Measure properties window > set to 6/4
  4. Enter a dotted minim onto the 3rd beat of m1
  5. Add a breath mark
  6. 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

fp22june avatar Jul 08 '24 10:07 fp22june

Stems from https://musescore.org/en/node/365969, and came up before in https://musescore.org/en/node/365879

Jojo-Schmitz avatar Jul 08 '24 10:07 Jojo-Schmitz

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)

fp22june avatar Jul 08 '24 10:07 fp22june

Reminds me a little bit of https://github.com/musescore/MuseScore/issues/23441, although that's a bit of a long shot

cbjeukendrup avatar Jul 08 '24 21:07 cbjeukendrup

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.

fp22june avatar Jul 09 '24 16:07 fp22june

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

wizofaus avatar Aug 28 '24 09:08 wizofaus

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.

cbjeukendrup avatar Aug 28 '24 23:08 cbjeukendrup

True, but it still shouldn't draw off the edge of the page!

wizofaus avatar Aug 29 '24 06:08 wizofaus