-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MU4 Issue] Figured bass - misplaced figures if begins with accidental #11833
Comments
@oktophonie - what say you? |
(This is not a regression from 3.6, as the same issue is evident there.) The problem here (I think) is that the grey line above the figure which shows its duration, and which extends right the way up to the next duration, is not being treated as invisible, and so autoplace is bumping subsequent figures down where they have an accidental at the beginning, because the accidental is placed to the left of the origin point of the string. Note that the first note in the second bar is not bumped down, as the duration line of the previous figure stops at the barline, so autoplace does not kick in. |
It feels backwards (to me) for autoplace to consider an invisible component while ignoring a visible one. |
See the discussion and analysis in the issue that was filed about this for MU3 some time ago - https://musescore.org/en/node/312291 Bottom line - I agree the gray line should probably not be considered when doing autoplace - which is to say, it shouldn't added to the "bbox" for the element. That is definitely what cause the issue, anyhow. But, it does appear to have been done deliberately - see https://github.com/musescore/MuseScore/blob/master/src/engraving/libmscore/figuredbass.cpp#L611-L614 And I think the reason is to avoid this: Not sure it's worth it, though. Eventually, yes, automatic aligning like is done with chord symbols, and possibly avoiding the lowest note of the system, is the way to go. |
Describe the bug
If figured bass beginswith accidental (#, or b) it is horizontaly wrongly placed
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Figures should be horizontally aligned
Screenshots
figured_bas_bug.mp4
Platform information
Additional context
Misplaced only if figures are close each other. If there is extra gap (between bars, ...), figures are placed right.
The text was updated successfully, but these errors were encountered: