Standard staff type in entry with tablature has 15ma clef
1. 'New...'.
2. At the instrument step, add a guitar with [Tablature] in the entry.
3. Change the staff type to 'Standard'.
4. 'Finish'.
Expected result: The clef is 8vb.
Actual result: The clef is 15ma.
Using MuseScore 2.0 Nightly Build (d6be9b1) - Mac 10.7.5.
Comments
While it might be thought unusual to simply change the staff type of an existing staff, I'm raising the priority because I believe this situation will come up fairly often with a slightly different series of steps:
1) create new score
2) add guitar tab staff
3) add linked staff, which will default to tab
4) change the staff type on the newly added staff to standard
Same issue arises. This is the "correct" way to generate linked tab and standard staves as far as I can see, and it doesn't work correctly out of the box.
It seems we have an "init" tag already in the tablature instrument definitions that points to the corresponding standard instrument definition. Hopefully it's just a matter of following that link when choosing a clef?
Looking at the code, it appears the problem is that no attempt is made to choose a clef at all. At least, I'm not seeing it. It appears the actual clef you end up with is actually random, and I've seen cases where it is something other than treble 15ma.
Hello
To me, this bug of 15ma clef worsened in the latest version nigthly (774dd2)
This bug was present when the choice was to start with the Tab staff and then link it with a standard one.
It could be avoided by starting with the reverse. But for tonight, if you add a free new staff, this 15ma clef is selected again.
Ditto if you add a new staff, in the sense Tab / Standard staves.
This key 15ma, as you know, does not exist, and never has existed for writing the guitar repertoire.
To clarify and help to an interim solution in the example given last night ( add a free staff to a two linked staffs Standard / Tab, or Tab / Standard, the while avoiding the 15ma clef), you must make the following approach .
-Select a standard Staff
-Add a linked Staff (Standard, then you have to change it in Tab staff, via drop-down menu)
-Then select the standard Staff
-Add
- and then do "Down"
You can always then return to this page and make up the Tab staff in first position, if that is your preference.
FWIW, it seems Werner is restructuring how staff types work, so I would expect some instability in the next week or two.
Thanks for the on going improvement. I just noticed that the two last Nightly do not access to staff type (Style -> Staff Types). It's probably related to that.
So, I quickly re-download a version of yesterday! :-)
The proper workaround is to create the score with the G clef 15 and then change the clef in the score. Just select it and double click the correct clef in the palette.
The bug looks simple but it's not really... There is no link between a standard guitar and a guitar [Tablature]. So we can't currently derive the correct clef when changing the staff type.
To make as many people as possible happy, I would propose to use G Clef 8vb as the default when changing the staff type to standard. It will make guitar players happy. Unfortunately it will make bass or ukulele players unhappy...
See 483ae20fde
The whole matter of clefs for staff types is rather buggy (see #18869: Undoing change in staff type of a staff does not restore the right clef, #23374: Undo change of staff type does not restore former clef in score imported from 1.3, #24294: Wrong clef when changing from tab to standard staff on guitar part and possibly others).
I think it has to be redefined structurally. So, I'm re-opening this issue.
M.
The partial fix in #9 makes guitarists happy, and unhappy many others.
It seems relatively quick to fix, so I'm working on it.
M.
Fixed in b8ecd49905
Automatically closed -- issue fixed for 2 weeks with no activity.