Crash in note entry mode by entering chord symbols

• Dec 2, 2014 - 21:24
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Nightly, December 2 (408c73d) / Windows7

1. "My First Score"

2. Enter two notes e.g. C and D in the first measure. Remain in Note entry mode (the D is highlighted)
Two notes.jpg
3. Press Ctrl + K (for chord symbol) -> a small rectangle appears
Ctrl K  on D.jpg
4. Undo (Ctrl + Z) to delete the D
2 Ctlr Z.jpg
5. Entry a new note

Result: crash
3 entry note.jpg

Attachment Size
Two notes.jpg 7.93 KB
Ctrl K on D.jpg 7.48 KB
2 Ctlr Z.jpg 7.28 KB
3 entry note.jpg 15.79 KB

Comments

With the Beta1, there is no crash, but the "strange" rectangle appears also.
beta 1.jpg
By exit note entry mode, and select a next note (the E on the example), and press Ctrl +K, this rectangle jumps at the good place, and it resumed a "normal" form for entering a chord symbol.
chord symbol entry.jpg

Attachment Size
beta 1.jpg 7.52 KB
chord symbol entry.jpg 8.31 KB

Same thing happens if you try to enter lyrics without first leaving note entry mode. I do not believe it was intended that either of these be possible - the commands should probably be disabled for note entry mode. Although it might be possible to make them work by forcing you out of note entry mode first, much as is done for the "play" command. If that works with no other changes, I'll probably go for it, otherwise, I'll just disable it. You couldn't enter chords or lyrics from note entry mode in 1.3 erither.

Same result in Note entry mode with Lyrics (Ctrl +L). And also:
- Staff Text (Ctrl +T)
- Rehearsal Marks (Ctrl + M)
- and Figured Bass (Ctrl + G)

Yep. The good news is, it does seems to work if I have these commands explicitly kick you out of note entry mode. I'll do some more testing and submit a PR soon.