Cannot remove selected range after right-click of non-range

• Jul 2, 2020 - 19:21
Reported version
3.4
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

This has been reported several times in the forum, I finally figured out how to reproduce:

1) open any score
2) right-click the opening clef, or title, or pretty much anything other than a rest or a range
3) notice Remove Selected Range is greyed out
4) now try to select a measure and delete it via Ctrl+Delete or the Remove Selected Range command

Result: you can't. The shortcut doesn't work, and the menu item is greyed out in the main menu and any popups. Until you re-enable it by switching to any other mode and back to normal. So hit play, then stop. Or enter and leave note input or edit mode. In previous reports, I think people resorted to restarting MuseScore.


Comments

Status PR created fixed

Fixed in branch 3.x, commit 72ccfbbd0f

_fix #307428: don't disable "remove selected range"

Resolves: https://musescore.org/en/node/307428

A recent change simplified the handling
of the remove selected range command in the right-click menu,
but also disabled it for elements other than rests.
Unfortunately, it was never re-enabled, leaving you unable
to delete measures after right-clicking something other than a rest.
There is no good place to re-enable it as far as I know,
so I have changed this to simply not disable it.
Instead, I don't display it at all except for rests or notes.
This doesn't change the measure popup, only the object popup._

Fix version
3.5.0