This surprised me. Part of the problem was easy, as described in the issue report: we are always adding 0.5sp space before start repeats, when we should do so only if there is some previous element.
But even with this fixed, it turns out there is still 0.5sp space being added by default, because of the code for avoiding chord symbol collision. If you go to Style / General / Chord Symbols and turn up the "Minimum chord distance", you'll see the start barline gets indented by that much - and so do clefs in "normal" scores (ie, when you aren't turning off initial clefs).
My fix here seems to work, but I don't have very high confidence I didn't break anything else about the chord symbol collision avoidance algorithm in the process.
Comments
https://github.com/musescore/MuseScore/pull/2063
This surprised me. Part of the problem was easy, as described in the issue report: we are always adding 0.5sp space before start repeats, when we should do so only if there is some previous element.
But even with this fixed, it turns out there is still 0.5sp space being added by default, because of the code for avoiding chord symbol collision. If you go to Style / General / Chord Symbols and turn up the "Minimum chord distance", you'll see the start barline gets indented by that much - and so do clefs in "normal" scores (ie, when you aren't turning off initial clefs).
My fix here seems to work, but I don't have very high confidence I didn't break anything else about the chord symbol collision avoidance algorithm in the process.
Fixed in branch master, commit b4bdcddc9d
fix #64911: space before start repeat
Fixed in branch master, commit 85b0ef0523
Merge pull request #2063 from MarcSabatella/64911-start-repeat-space
fix #64911: space before start repeat
Fixed in branch 2.0.2, commit 4fea2809d7
fix #64911: space before start repeat
Automatically closed -- issue fixed for 2 weeks with no activity.