Problem selecting and entering a whole note

• Feb 10, 2020 - 20:29
Reported version
3.4
Type
Functional
Frequency
Few
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.4.2.9788, revision: 148e43f

  1. Use a score with a 4/4, Common or Cut time signature.
  2. In Normal mode, click on a whole measure rest.
  3. Click on the whole note icon in the toolbar, or use the shortcut "7".
    Expected result: The whole note icon should be shaded in the toolbar.
    Actual result: The icon is not shaded.
  4. Now click on any letter from A to G to enter a note.
    Expected result: A Whole note is entered.
    Actual result: A Quarter note is entered.

If you repeat the above with a duration of a Quarter or Half (for example) the measure rest divides so that the first rest is of the same duration as that selected in the toolbar; then step 4 enters a note also of the same duration. The same should occur with a whole note icon selected in the toolbar.


Comments

Frequency Once Few

I've noticed the same problem on mac OS mojave, I've noticed too that when you select the double whole note or the longa icon after select the whole measure rest, the whole note is selected, then entered, instead of the double or the longa...

on MS 2 I try and the whole note icon becomes blue and in a box, but if I clik A that enter a quater note, and put in input mode. I think it's because you're not in input mode. If you pass in input mode (N) the whole note is correctly entered

Severity S3 - Major S4 - Minor
Workaround No Yes

Presumably the issue is confusion between "whole" and "measure" as the duration. But in any case, workaround is just to enter note input mode normally.

Marc is right, as usual. A full measure rest in 4/4 and a whole rest have different duration types, although their durations are equivalent. And this is the reason for the unexpected behavior. There is no icon that corresponds to the "measure" duration type, so no icon is highlighted when a full measure rest selected. When you clicked the whole note icon (or used the shorcut "7"), the selected full measure rest should have turned into a whole rest. If it had, then the whole note icon would have been highlighted as expected, and a subsequent press of a key (A to G) would have entered a whole note as expected. But since the duration of the rest is not changing, the function that does the work of changing the rest exits early without doing anything. I think we probably want to do something like this instead:

      if (srcF == dstF) {
            if (cr->isFullMeasureRest())
                  undoChangeChordRestLen(cr, dstF);
            return;
            }

Also duplicate of #100491
I still don't see any reason to ignore the user action and to not turn the measure rest into "normal" rest when the user explicitly select that length by mouse or keyboard.

Fix version
3.5.0