Blank lines of text consisting only of a RETURN are too small in height on some scores

• Jul 26, 2019 - 17:38
Reported version
3.2
Priority
P2 - Medium
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.3.0.7831, revision: f6e41c3

Open the attached file in both MS 2.3.2 and MS 3.x. The line spaces have disappeared between verses: all except one.

Similar issue? #291402: Text edit mode: newline character can't be removed by Delete.

Attachment Size
line_spaces.mscz 5.82 KB

Comments

Title Line spaces in text, in imported MS2 files, disappear in MS3 Line spaces in text, in certain imported MS2 files, are too small in MS3
Status active needs info
Priority P2 - Medium

I can reproduce in this example but not from scratch. The blank line, BTW, is there, it is just smaller than it should be. My guess is there is an OS-dependency here, the different ways that different OS's represent line endings. Could be that blank lines inserted on one OS don't look correct when read on another, but I don't have a good way of testing that theory.

  1. Open the attached score. This was created in MS2 by pressing Return after each verse (except the last).
  2. Navigate to any of the small line spaces between verses.
  3. Press the Space bar once.
    Result (unexpected): A full-sized line space is created. For some reason you need to add a character to the line to make it full-sized, whereas in MS2 a Return was sufficient.
Attachment Size
return.mscz 5.8 KB

Again, Enter is sufficient for me too in current builds. Something seems very special about this particular score, and as I said, I suspect it's a difference in how line endings are represented between OS's. Looks like the original score was created on Linux but you are now editing on Windows?

Title Line spaces in text, in certain imported MS2 files, are too small in MS3 User cannot create blank lines of text consisting only of a RETURN
  1. Open the attached file, put the cursor just before the text "Verse 2" and press RETURN. Then continue to press RETURN. Then Esc.
    Expected result: One text line after another.
    Actual result: The first line is normal, but on each subsequent RETURN a blank reduced-height line is created.

  2. Reset the file. Put the cursor before "Verse 2" and press RETURN.

  3. Put the cursor back at the end of line 1 and press RETURN.
    Result: A blank line of the correct height.
  4. Press Esc.
    Expected result: No change.
    Actual result: The line-height shrinks unexpectedly.
Attachment Size
blank_line_between_verses.mscz 4.7 KB
Title User cannot create blank lines of text consisting only of a RETURN Blank lines of text consisting only of a RETURN are too small in height
Title Blank lines of text consisting only of a RETURN are too small in height Blank lines of text consisting only of a RETURN are too small in height on some scores

But again, it works fine for me in other cases. So we still need to understand foolproof steps to reproduce.

FWIW, I can now reproduce from scratch on Windows 10: blank lines inserted into a text frame initially show full size but become much smaller when editing is completed.

Fix version
3.5.0