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

Add a horizontal spacer for minimum size for a given bar #21421

Open NicolaRulli opened 9 months ago

NicolaRulli commented 9 months ago

Your idea

Like we have a spacer to guarantee a minimum distance between staves, this spacer would guarantee a minimum size for a bar without having to blindly press the "stretch" button over and over. It would be even better if this spacer could be applied even to partial measures, especially since the stretch setting doesn't seem to work (or at least not reliably?) on partial measures.

Problem to be solved

  1. Get the desired measure spacing in two steps (insert spacer, set spacer width in properties) instead of a random number of them (press the hotkey to increase stretch over and over hoping to get the intended result)
  2. Bypass some of the lag (MS4 has optimisation problems on some older machines and especially large files with parts, not strictly related to CPU/RAM/disk speed - might be graphics?) given that in the best case scenario where you can correctly guess the value to input in the spacer's properties, MS only has to update the score visually once, instead of once per hotkey press
  3. (if the spacer can be attached to partial measures) fix problems of localised crowding without going chord by chord
  4. If the passage has to be repeated later in the piece, copypasting the spacer is easier than setting the stretch value again

Prior art

No response

Additional context

No response

NicolaRulli commented 9 months ago

Sorry, I just noticed we can change bar width. Don't know how I missed it. Still, the ability to copypaste a spacer would be a positive, but the "bar width" setting does make it drastically less useful for all other purposes.