musescore / musescore/MuseScore

[MU4 Issue] Export to png of a large panoramic score fails

Open
#12,743 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
It's a long unusual score (panoramic). Export to SVG works nicely, but export to PNG fails. (causes hanging, high memory/CPU usage, unresponsive UI)
score.zip

To Reproduce
Steps to reproduce the behavior:

  1. Create a score with <pageWidth>1000</pageWidth>
  2. Try to export it to PNG either through the UI or command line.

Expected behavior
We should see the result after milliseconds.

Platform information

  • OS: Windows 10.

Additional context
The same issue in MU3

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

Reproduce the failure with the attached score or a score using 1000, testing PNG export through both the UI and command line and comparing it with SVG export. Done means PNG export completes promptly without hanging, excessive memory or CPU use, or an unresponsive UI on the reported Windows 10 setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop, performance
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.