musescore / musescore/MuseScore

MusicXML import: Pickup measure not correctly recognized

Open
#17,305 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community MusicXML needs review regression MS3
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

MusicXML Import

Bug description

Pickup measure not correctly recognized on MusicXML import

Steps to reproduce

Importing the attached MusicXML file
Sunnyside Of The Street.zip
results in the first measure, which is a pickup measure,to get the number 0:

  • Exclude from meeasure count it not ticked
  • Add to measure number is set to -1

image

Unlike when importing it into M3.6.2, which behaves correctly here:

  • Exclude from meeasure count it ticked
  • Add to measure number is set to 0

image

Screenshots/Screen recordings

See above

MuseScore Version

4.0.0, 4.0.1, 4.0.2 and latest build from master

Regression

Yes, this used to work in Musescore 3.x and now is broken

Operating system

Windows 11

Additional context

Stems from https://musescore.org/en/node/348410

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the MusicXML import path and reproduce the issue using the attached Sunnyside Of The Street.zip file, comparing its first pickup measure with MuseScore 3.6.2. Done means the imported pickup measure is excluded from the measure count and its added measure number is 0, as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.