musescore / musescore/MuseScore

Selected element is deselected when pressing "undo" / "redo"

Open
#15,767 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
Often, when pressing "undo" or "redo", the selected element is deselected. I don't see a very good reason for that, and it is a little bit annoying.

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

No files or tests are named. Start by reproducing the issue in MuseScore while an element is selected, then trace the undo and redo handling that changes selection state. Done means the selected element remains selected after undo and redo, with a regression test if the relevant test location can be identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.