Make “Delete Selected Measures”/“Timewise Delete” more discoverable
My story of the problem I had
I had finished writing music, but there were some empty measures left at the end of my score, so I wanted to delete them. I selected the rests on both staves for a range of measures (with Shift-Click) and then pressed Delete. But that just deselected the measures and selected the first note. “Okay,” I reasoned, “it only replaces notes with rests. I can understand that sometimes you would want that. But then how do I actually delete the measures?”
As I remember it, I looked for this functionality in these places, in this order:
- Pressed the Delete key
- Looked in the toolbar for some special Delete button
- Looked in the inspector of the selected measures
- Right-clicked one of the selected rests and chose Delete. It acted the same as typing Delete.
- Opened the Edit menu (on macOS) and saw only Delete (didn’t even try it; expected it would be the same as the other two Deletes I had tried)
- Returned to the right-click menu and chose “Measure Properties…”; nothing in the window was relevant
- Skimmed the Palettes for relevant buttons
- Looked in the Format menu
- Looked in the Add menu. I saw the Measures sub-menu, but none of the menu items were relevant, as I expected from the name “Add”.
- Looked in the Tools menu, saw the “Timewise Delete” menu item. Tried it – finally, success!
My suggested fixes for this UX problem
It would be better for my discovery to have happened at an earlier step. After looking at each step I tried and thinking whether it makes sense for the feature to be available there, these are my recommended solutions. I think all of these changes would improve MuseScore, but each one can be implemented independently, without waiting for the others.
Make Delete do what I wanted
Change the behavior of Delete to act like Timewise Delete when the selection consists of only completely empty measures (and their rests). After all, Delete currently does nothing when activated with that selection – it replaces the rests with rests – so if the user called Delete, they must have wanted to delete the measures, right? If any notes or markings are present in the selection, then Delete can keep its current behavior – replace them with rests without deleting the measure.
Ensure that “Delete Selected Measures” appears in the context menu
The best way to do this would be to make right-click act consistently no matter where I click (this would probably require a lot of changes to the parts of the code that define menus). I tried these steps again while writing this feature request, and I found that if I had right-clicked on an empty part of the selected measures – not the rests highlighted in blue, and not the barlines between those measures – the context menu would have shown a “Delete Selected Measures” menu item. But I actually right-clicked on the rest in my selection, because it was highlighted in blue, so I only saw the right-click menu for rests.
In all the apps I am used to, when something is selected (such as a range of measures), right-clicking on anything within that selection brings up the menu for the whole selection. For example, in my file browser, I don’t get different options for selected files if I right-click on the filename vs. if I click on the Size column – I get a menu with all options that deal with files, including both “Rename” and “Compress”. I think menus in MuseScore should behave the same way.
If you want to keep the behavior of changing what menu opens based on where you right-click in a selection, then right-clicking should also highlight (or even change the selection to) the elements the menu items would act on. That way I can check whether I right-clicked on the right element before I choose a menu item. I would have noticed that only the rests, not the bars themselves, were selected. (You would then need to change the visual styling of highlighting/selections to make this distinction clear.)
Whatever menu should open when I right-click inside selected measures, the “Delete Selected Measures” menu item should be present in it.
Relocate the “Timewise Delete” menu item
Move the “Timewise Delete” menu item from the Tools menu to below the “Delete” menu item in Edit menu. (I don’t know if the Edit > Delete menu item is specific to macOS; if so, this might be a macOS-only change.)