musescore / musescore/MuseScore
[MU4 Issue] In severely corrupted score, 'Open anyway' button does not open file
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
To Reproduce
Steps to reproduce the behavior:
- Attempt to open
corrupted Anerio Factum_est_silentium.zip
-> the corruption dialog appears - Click on 'Open anyway'
- Dialog closes without opening the corrupted file
Expected behavior
Ideally, MuseScore should detect a priori that it won't be able to open this file, so it shouldn't show a "open anyway" button. If that's not possible, MuseScore should show a second error dialog after it fails to open the file anyway.
Platform information
- OS: Windows 10
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
Reproduce the failure with the linked corrupted Anerio Factum_est_silentium.zip on Windows, then trace the corruption dialog's “Open anyway” action through the file-opening path. Done means either the option is withheld when opening cannot succeed or a second error dialog is shown after the attempt fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100