musescore / musescore/MuseScore
Apply time signature after undo can produce inconsistent results
Open
Nobody has claimed this yet.
P2
regression MS3
UX/interaction
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
UX/Interaction bug (incorrect behaviour)
Description with steps to reproduce
- Create a new score with default 4/4 time signature and fill 3 measures with 1/4 notes
- Select just the first two measures
- Apply a 3/4 time signature from the palette
- Note the following (4/4) measure remains as is, with an extra rest inserted in the previous (new) 3/4 measure
- Undo - returns to state after step 2. (first two measures selected)
- Re-execute step 3 (apply 3/4 time signature)
- Expected: should produce same result as seen in step 4
- Actual: result is different, with the notes from all 3 measures now spread over 4 3/4 measures followed by an empty 4/4 measure.
Supporting files, videos and screenshots
Start:
After first 3/4 apply:
After undo and reapply 3/4:
What is the latest version of MuseScore Studio where this issue is present?
4.4
Regression
Same in all versions of 4
Regression of MuseScore 3
Operating system
Windows 11
Additional context
Not a major issue, just a weird quirk that may be worth investigating, as anything that means "undo" isn't properly restoring a previous state can potentially lead to more serious problems.
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
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.
Assessment
This issue has not been assessed yet.