Text Style dlg box: offset suffix is always "sp" also for "mm" values

• Oct 31, 2019 - 11:38
Reported version
3.x-dev
Type
Ergonomical (UX)
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
PR created
Regression
No
Workaround
No
Project

Steps:

  1. Open any score
  2. "Format | Style... | Text Styles"
  3. On a text style of choice, toggle the "Follow staff size" button (when the box is checked, values in the "Offset" fields are in sp; when it is not checked, the values are in mm)

Expected result: the suffix of the "Offset" values toggles between sp and mm accordingly.

Actual result: the suffix always remains sp, leading to erroneous expectations about the working of these values and hiding the fact that "Follow staff size" and "Offset" are linked.

Note: I have a PR ready, which I'll push ASAP.