Incorrect processing of "=" symbol in chord symbols

• May 23, 2018 - 13:55
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Scenario:
1. Create any Chord symbol
2. Type "="
Result: symbol is not entered, but cursor moves 1 step to the right.
3. Type "=" again
Result: The "=" symbol appears on the previous place, cursor doesn't move.
4. Press "Backspace"
Result: The entered "=" symbol is removed, cursor is not moved
5. Press "Backspace" again
Result: no changes in symbols, but cursor moves back to initial position

If I save the score and try to enter "=" again, the MuseScore crashes:

Fatal: ASSERT: "!layoutInvalid" in file C:\work\MuseScore3\libmscore\text.cpp, line 1669 (C:\work\MuseScore3\libmscore\text.cpp:1669, )

chord_equal_bug.gif

Attachment Size
Title.mscz 6.4 KB

Comments

FWIW, I wrote much of the chord symbol processing code for 2.0, but am not really up on all the things that have changed underneath since then - lots, I'm sure. I have been hoping someone more familiar with the more general changes for 3.0 can investigate any issues chord symbols that are new with 3.0, and I'm happy to help them understand the chord-symbol-specific code.