Bugs with grayed out fields in the Inspector

• Oct 14, 2014 - 06:41
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Config: MuseScore 753d232 on Xubuntu 14.10.

Bug 1

  • Add a line 8va.

  • Select it.

  • In the Inspector, we see that the field "Line width" is grayed out because the value comes from the style settings. The default value is 0.10sp. Try to increase it to 0.30sp.

Result: the spinner doesn't display any value more than 0.20sp.

Note: it can be tested with other elements (volta, pedal, hairpins), and it occurs with all grayed out spinners (example: property "Height" for hairpins).

Bug 2

  • Add a line 8va.

  • Select it.

  • In the Inspector, we see that the field "Line width" is grayed out. The value is 0.10sp by default. Increase it to 0.20sp.

Actual result: the spinner is still grayed out even if the value was changed.

Expected result: same than when we change the value of "Line style". It automatically lose the "grayed out" effect as soon as we change the value.

Note: it occurs with all grayed out spinners.

Bug 3

  • Add a line 8va.

  • Select it.

  • In the Inspector, we see that the field "Line width" is grayed. The value is 0.10sp by default. Increase it to 0.20sp.

  • Deselect the line 8va.

  • Select it again.

  • In the Inspector, we see that the "reset value" button for the property "Line width" can be clicked (because it's not the default value). Click this button.

Actual result: the spinner resets to 0.10sp, but it's not grayed out.

Expected result: same than when we reset the value of "Line style". It automatically grays out as soon as we reset the value.

Note: it occurs with all grayed out spinners

Bug 4

  • Add a volta.

  • Select it.

  • Look at the property "Line style" in the Inspector.

Actual result: the field "Line style" is not grayed out.

Expected result: the field should be grayed out because the value comes (or should come, see bug 5) from style settings ("Style > General... > Hairpins, Volta, Ottava > Volta > Line style").

Bug 5

  • Go to "Style > General... > Hairpins, Volta, Ottava > Volta", change the property "Line style" to "Dash" and apply changes.

  • Add a volta.

  • Select it.

  • Look at the property "Line style" in the Inspector.

Actual result: the value is "Solid".

Expected result: the value should be get from style settings ("Dash").

Bug 6

  • Add a hairpin.

  • Select it.

  • In the Inspector, there are three grayed out fields:

    • Line width: 0.13sp
    • Height: 1.20sp
    • Continue height: 0.50sp
  • Go to "Style > General... > Hairpins, Volta, Ottava > Hairpins", change the value of the related fields. Example:

    • Line thickness: 0.20sp
    • Height: 1.30sp
    • Line break height: 0.60sp
  • Apply changes.

  • Select the hairpin added previously.

Actual result: in the Inspector, the value of the grayed out fields is the same:

  • Line width: 0.13sp
  • Height: 1.20sp
  • Continue height: 0.50sp

Expected result: the value should be get from style settings:

  • Line thickness: 0.20sp
  • Height: 1.30sp
  • Line break height: 0.60sp

Bug 7

  • Add a line 8va.

  • Select it.

  • In the Inspector, we see that the field "Line style" is grayed out. The default value is "Dash". Change it to "Solid".

  • Change it again to "Dash".

  • Click the button "reset value".

Actual result: the field is not grayed out.

Expected result: the field should be grayed out. It seems that if the user reselects the value corresponding to the default one in the style settings, there's no way to get the field grayed out, even if the button "reset value" is clicked.

Note: it occurs with all grayed out fields (spinners, drop-down lists, checkboxes).


Comments

By the way, why the property "Horizontal" in the Inspector is grayed out for beams? There's no setting about that in the "Edit Style" dialog.

A few things have changed over the past couple of days. Trying to reproduce this, I don't see the same things as described.

#1: I cannot reproduce at all - ottavas, voltas, hairpins all allow me to set whatevber thickness I want. however, hairpin height shows pretty much exsactly the described effect.

#2: I am not sure how to reproduce this, since the moment I increase the value in one of these fields, the value because selected, making it impossible to see if it is greyed out or not. This is true wheter using arrow keys or arrow controls to change the value. If I moved the cursor to clear the selection, the value left is not greyed out. Again, though, hairpin height *does* show this effect.

#3: Still true. BTW, it seems like it might useful to be able to set the value back to its default but still leave the connection to the style broken, so subsequent change to style don't affect this particular element.

#4-#5: Indeed, this doesn't work, I assume the propertyStyle is not being returned correctly and that is responsible for both of these.

#6: Confirmed; those settings do not seem to apply to hairpins already created. Again, I suspect an issue with handling of propertyStyle. It's possible this isn't *supposed* to work, btw, but in that case, the vsalues shouldn't be greyed out.

#7: Confirmed, although see my note on #3.

Actually, #1 (or a variant of #1) is not solved for "Line thickness". Tested with 1e68b44:

Bug 1, take two

  • Add a line 8va.

  • Select it.

  • In the Inspector, we see that the field "Line thickness" is grayed out because the value comes from the style settings. The default value is 0.10sp. Increase it to 0.20sp.

  • Deselect the line.
  • Select it again.
  • Click the button "reset value". The value is reset to 0.10sp.
  • Try to increase the value.

Result: the spinner doesn't display any value more than 0.10sp.