musescore / musescore/MuseScore
svg export changes superposition order of elements
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Describe the bug
When exporting to svg some elements that should show at the back of the staff are shown on top of it. Exporting to pdf and png is correct
To Reproduce
Steps to reproduce the behavior:
Open the attached score
Click on 'export' > svg
Chopin Vals op. 69 2 melodía acompañada adaptación dislexia.mscz.zip
Expected behavior
File is exported as a copy of the score in svg
Screenshots
MuseScore Version
OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.0-231780315, revision: github-musescore-musescore-1614004
Contributor 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.
Research direction
Start by opening the attached Chopin score and reproducing the problem through Export > SVG, comparing the result with the correct PDF and PNG exports. Done means the SVG preserves the score's element superposition order, so objects that belong behind the staff no longer appear on top of it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100