Invisible accidentals take space

• May 15, 2020 - 17:10
Reported version
3.4
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project

Workaround: manually move the accidental closer to the notes


Comments

Title Invisible accidentals take space Invisible accidentals take spaceFor the record: layout is functional.

For the record: anything relating to layout is by definition "functional". The "graphical" setting refers to the UI only - the appears of buttons etc.

“Interface” is too broad a term, it encompasses both UI and UX issues. Even UI is too broad really, that’s why “graphical” is intended to help clarify (eg, the G of GUI).

But no doubt these distinctions make sense only to software insiders, and possible even then, they involve subtleties that may only register with native English speakers. And still can be easily misinterpreted.

So, feel free to propose alternatives, but I think the more appropriate place is on the forum, or perhaps on Telegram.

Status active PR created

Whatever reasons you may have for wanting to hide an accidental, I have my own reason for wanting to fix this issue, and it has to do with the playback of microtonal accidentals. Each microtonal accidental has an amount (in hundredths of a semitone) by which it should raise or lower the sounding pitch of the note, but this value is ignored during playback. The tuning of a note can easily be automatically adjusted to account for any accidental attached to the note, but for reasons that I will not go into here, getting microtonal accidentals to apply to subsequent notes on the same staff line within the measure is complicated, to say the least. A reasonable workaround might involve the use of invisible accidentals, so long as they didn't take up any extra space. https://github.com/musescore/MuseScore/pull/6100 addresses this particular issue.

Status PR created fixed

Fixed in branch 3.x, commit a8819878ed

_fix #305487: invisible accidentals take space

This skips allocating space for accidentals if marked invisible
or no autoplace.
For accidentals marked invisible, they also don't affect stacking
of multiple accidentals._

Fix version
3.5.0