Text edit mode: newline character can't be removed by Delete
Reported version
3.2
Priority
P2 - Medium
Type
Functional
Frequency
Few
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
- Enter a text with a newline in it (any type will do, staff/tempo/title/...)
- Put the input cursor at the end of the first line
- Press Del
Expected result: The newline character is deleted
Actual result: nothing happens
Workaround:
Put input cursor at the start of the second line, press backspace.
Bug present in 3.1 & 3.2, probably all 3.x's are affected.
Regression compared to 2.3.2 where this does work as expected
Fix version
3.5.0
Comments
Came up again in https://musescore.org/en/node/292103
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.3.0.8267, revision: e36df56
In the above example, backspacing only apparently removes the newline character:
Expected result: The cursor stops at the end of the text.
Actual result: The cursor can be moved one extra space onto a new line, albeit with a smaller line height.
This sheds more light on another issue: #292652: Blank lines of text consisting only of a RETURN are too small in height on some scores.
It's only at the end of a block that you cannot delete the newline. Newlines within the block can be deleted by backspace normally.
IMV, a major bug because of its knock-on effect: see #292652: Blank lines of text consisting only of a RETURN are too small in height on some scores. For example, to space lyric verses in a frame you insert an extra blank line between verses. This no longer works as it should in MS3.
I'd say that other bug is major, this one is not. We don't actually know they are even related.
A fair point.
Related to #272131: [EPIC] Text editing issues.
https://github.com/musescore/MuseScore/pull/5873
Now https://github.com/musescore/MuseScore/pull/5875
Fixed in branch master, commit 1050986069
fix #291402: added the ability to delete \n using the delete key
Fixed in branch master, commit e0d7245ab7
_Merge pull request #5875 from SKefalidis/text-delete
fix #291402: added the ability to delete \n using the delete key (duplicate, the old one was automatically closed for some reason)_
Automatically closed -- issue fixed for 2 weeks with no activity.