MusicXML import ignores relative-x and relative-y on technical fingering
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
Research direction
Start by locating the MusicXML import code that reads <fingering> inside <notations><technical>, then compare its handling of position attributes with the exporter and the related #35695 path. Use the supplied one measure MusicXML file to reproduce the import, and inspect the saved .mscx or re-exported XML. Done means the imported fingering retains both offsets in spatium units.
Written by the indexing model from the issue text.
Description
Issue type
Bug report
Bug description
MuseScore 4 exports manual <Fingering><offset x="..." y="..."/></Fingering> adjustments to MusicXML 4.0 as relative-x and relative-y tenths on <notations><technical><fingering>, which is valid MusicXML 4.0. However, when importing that same MusicXML file back into MuseScore 4, relative-x and relative-y on <fingering> are ignored, discarding the manual offset and snapping the fingering back to default placement (causing collisions on cross-staff arpeggios and multi-voice piano passages).
(Related but distinct from #35695, which covers <direction-type><words> rather than <notations><technical><fingering>.)
Steps to reproduce
- Save the following valid 1-measure MusicXML 4.0 file as
repro-fingering-offset.musicxml(equivalent to what MuseScore exports from a native<Fingering>with<offset x="3.5" y="-2.5"/>):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 4.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="4.0">
<part-list>
<score-part id="P1">
<part-name>Piano</part-name>
</score-part>
</part-list>
<part id="P1">
<measure number="1">
<attributes>
<divisions>1</divisions>
<key><fifths>0</fifths></key>
<time><beats>4</beats><beat-type>4</beat-type></time>
<clef><sign>G</sign><line>2</line></clef>
</attributes>
<note>
<pitch><step>C</step><octave>5</octave></pitch>
<duration>4</duration>
<voice>1</voice>
<type>whole</type>
<notations>
<technical>
<fingering default-x="7.46" default-y="25.68" relative-x="35" relative-y="25">4</fingering>
</technical>
</notations>
</note>
</measure>
</part>
</score-partwise>
- Import
repro-fingering-offset.musicxmlinto MuseScore Studio 4.7.7 and save as.mscz(or re-export to.musicxml). - Inspect
<Fingering>in the saved.mscx(or<fingering>in the re-exported.musicxml).
Actual behavior
The imported <Fingering> contains no <offset> element, and re-exporting to MusicXML produces <fingering default-x="7.46" default-y="27.14">4</fingering> with relative-x and relative-y lost.
Expected behavior
MusicXML import preserves relative-x and relative-y on <notations><technical><fingering> as the corresponding <Fingering><offset x="..." y="..."/></Fingering> in spatium units, matching MuseScore's own MusicXML exporter.
MuseScore Version
MuseScore Studio 4.7.7 (revision b750c43e316cf6a00e70451870b231b12f400bda)
Operating system
Windows 11 x86_64
- Dominant language
- C++
- Stars
- 15.5k
- Forks
- 3.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 124
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from musescore/MuseScore
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Edit string data dialog opens empty, with no strings and 0 frets, from "Instrument/Staff properties"Possibly taken @igorkorsukov claimed this 3 days ago. OpenP2 regression nightly UX/interaction
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
musescore/MuseScore#35829 · 1 assignee ·
Maintainers usually reply within 1 day
-
MusicXML export: overlapping dashed text lines (<dashes>) are all exported with duplicate number="1"Opencommunity MusicXML
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
MusicXML import loses explicit slur direction when the stop precedes the start in document orderOpenneeds review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
needs review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
All issues in musescore/MuseScore
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
bug low priority
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
eclipse-score/logging#531 ·
Maintainers usually reply within 2 days
-
scope:docs status:needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PX4/PX4-Autopilot#30166 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day