musescore / musescore/MuseScore

Deleting a rest at the start also deletes the key-sig. Undo does not put the key-sig back

Open
#21,095 3 comments 0 reactions 1 assignee View on GitHub

@mathesoncalum is already working on this.

Since Jan 19, 2024.

P2 regression MS4 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)

Bug description

To create an anacrusis (lead in measure), I delete the first minim of the first bar with Ctrl+Del (after selecting that first minim rest. This also deletes the key signature.
Ctrl+Z (undo) will put the minim back, but not the time signature.

Steps to reproduce

Start a new score, add a Tenor Saxophone. (4/4 time)
Switch to concert pitch, drag two sharps to the start of the music.
Enter a minim and 6 crotchets.
Select the minim (blue rectangle around just the minim).
Press Ctrl+Del
Both the minim and the key-signature vanish.
Press Ctrl+Z
Only the minim reappears.

Screenshots/Screen recordings

No response

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.0-233521124, revision: github-musescore-musescore-eb8d33c

Regression

Yes, this worked in 4.1

Operating system

Windows 11

Additional context

No response

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.