MusicXML import: clef change position
After updating to 4.5 all clef changes in imported XML are set to "behind the barline".
If I reset the setting of the current clef to automatic
it will be shown as it should be:
It cannot be changed everywhere by selecting a clef and then all similar.
The is no definition for it in style, too, so I cannot revert this behaviour to default.
So I have to go through the whole score and correct every clef change manually.
Comments
Can you attach musicxml file?
In reply to Can you attach musicxml file? by mercuree
sure
I exported an xml from my old Sibelius score, it was imported ok.
In reply to sure by Miguk
Indeed, Musescore 4.5 imports the file this way.
There is no information in the musicxml file itself about clef being after barline.
But in the import code I see additional logic, the meaning of which I do not understand.
https://github.com/musescore/MuseScore/blob/master/src/importexport/mus…
Perhaps this is done intentionally. I do not know. Maybe @Jojo-Schmitz will tell us.
In reply to Indeed, Musescore 4.5… by mercuree
Not my code, I don't know anything about it
In reply to Not my code, I don't know… by Jojo-Schmitz
Btw, the old error - adjusting text element position after editing and pressing ESC is not possible - is back in 4.5.
In reply to Indeed, Musescore 4.5… by mercuree
if (measure->prevMeasure()->repeatEnd())
this check wasn't in 4.4.0
In reply to if (measure->prevMeasure()-… by Miguk
Who added it as per 'git blame'?
In reply to Who added it as per 'git… by Jojo-Schmitz
@miiizen. I don't see which PR his commit belongs to
https://github.com/musescore/MuseScore/commit/9228d1cd2d2ca1a2124d25ede…
In reply to @miiizen. I don't see which… by mercuree
Apparently https://github.com/musescore/MuseScore/pull/26264