musescore / musescore/MuseScore

[MusicXML] Rhythmic slash notation badly handled

Open
#28,471 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Issue type

Import/export issue

Description with steps to reproduce
  1. Enter some chords
  2. Toggle rhythmic slash notation
  3. Export to MusicXML
  4. Import exported file

Currently chords in slash notation are exported with invisible noteheads except for one which is marked as slash notehead (because MuseScore sets all noteheads except one to invisible). This should be exported by using a <slash> element at the beginning and the end of a section with rhythmic slash notation.

Supporting files, videos and screenshots
Entered notation
Image
After ex- and reimport
Image
Test files

rhythmic_slash.zip

What is the latest version of MuseScore Studio where this issue is present?

latest nightly build

Regression

No.

Operating system

macOS 15

Additional context

Wrong import of (properly encoded) slash notation was reported in #16216.

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

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 by opening rhythmic_slash.zip and reproducing the MusicXML export/import workflow described in the issue. Compare the exported XML and the reimported notation; done means rhythmic slash sections are represented with slash elements at their boundaries and survive the round trip correctly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.