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.31k stars 2.66k forks source link

Courtesy clefs can collide with bar rests #17810

Open LupusCaeruleus opened 1 year ago

LupusCaeruleus commented 1 year ago

Issue type

Engraving bug

Bug description

Courtesy clefs can collide with bar rests in bars with narrower widths. image

Steps to reproduce

Maybe the simplest way to reproduce:

  1. Create a new file with any instrument.
  2. Select a bar, add an F clef (19th century) form the palette (in Clefs > More).
  3. See the result. image

Screenshots/Screen recordings

No response

MuseScore Version

4.0.2

Regression

Yes, this used to work in MuseScore 3.x and now is broken

Operating system

Windows 10

Additional context

In MuseScore 3.6.2, courtesy clefs do not collide with bar rests, they cause bar rests to misalign instead. image

oktophonie commented 1 year ago

(Not really a 'regression', 3.6 was just wrong in a different and worse way; still, a problem to fix)