Pressing number after mouse click works for a different line in "Italian" styled tablature staff
Reported version
3.3
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
To reproduce:
1) choose italian tabs in the instruments menu
2) enter the note input "N"
3) choose the lowest line of the tabs and press "0"
4) note will appear on the highest line
It makes typesetting directly in italian tabs very hard.
Fix version
3.4.0
Comments
I don't see an "Italian tabs" instrument in the list, are you sure it's called italian tabs for the instrument?
There is a Tablature style, "Tab. 6-string Italian", available for e.g. Guitar and Lute (see the OP's username ;-)). But that note input going to the top line is not specific to it, happens with a 'normal' Tablature too
I don't know if it's a bug: I have almost zero experience with tablature staff, but click on the 1st/2nd/3rd/4/5/6th line (from the bottom) and press a number, the number is attached to 6/5/4th/3rd/2nd/1st (also from the bottom) instead of also 1/2/3/4/5/6. This is aberrant to me, is this supposed to happen?
EDIT: Definitely not, "common" tablature works normally from 1st to 6th.
See https://github.com/musescore/MuseScore/pull/5524.
In reply to See https://github.com… by Howard-C
Apparently, a side effect of: https://github.com/musescore/MuseScore/commit/20fe03cf18723c149352c03c6…
To fix: #276511: Entering notes with mouse fails in Italian TAB
Please check this new PR doesn't break the previous fix.
In reply to Apparently, a side effect of… by cadiz1
It doesn't, because the function this PR changed,
cmdAddFret()
, only affects number pressing, whereas the function PR #5398 changed,noteValForPosition()
, which is called aftercmdAddFret()
, affects both mouse clicking and number pressing. And that's exactly the reason to fix in this way,visualStringToPhys()
for string number is also executed after number pressing, which shouldn't happen, so incmdAddFret()
we have to executephysStringToVisual()
to pre-revert (what a word) the impact.Came up again in https://musescore.org/en/node/298747
Fixed in branch master, commit a349116dc1
_fix #298362: pressing number after mouse click works for a different line in "italian" styled tablature staff
Resolves: https://musescore.org/node/298362.
This is because the string number is reversed for number pressing (for upside-down tablature staves) while in fact it isn't needed. So a physStringToVisual() is called in this patch to eliminate the effect. See https://musescore.org/en/node/298362#comment-965223._
Fixed in branch master, commit 02f6aae684
_Merge pull request #5524 from Howard-C/italian-tab
fix #298362: pressing number after mouse click works for a different line in "Italian" styled tablature staff_
Fixed in branch 3.4beta, commit fe916f49c3
_Merge pull request #5524 from Howard-C/italian-tab
fix #298362: pressing number after mouse click works for a different line in "Italian" styled tablature staff_
Automatically closed -- issue fixed for 2 weeks with no activity.