Enabling Note Entry after entering note and disabling it causes temporary hang

• Dec 8, 2012 - 00:29
Type
Functional
Severity
S4 - Minor
Status
closed
Project

1. Create score.
2. Enable 'Note Entry'.
3. Enter note.
4. Disable 'Note Entry'.
5. Click somewhere on score (de-selecting note).
5. Enable 'Note Entry'.

Result: Hang for approximately one minute.

Using MuseScore 2.0 Nightly Build (a5db06b) - Mac 10.7.5.


Comments

Stepping through the application, it seems the slowdown happens inside Qt libraries, I put a breakpoint in ScoreView::cmd(QAction const*) (scoreview.cpp:2413), and I can keep stepping until control goes back in Qt dlls, then if I "Continue" with the debugger, the hang is still there.
However, I find that the issue doesn't show up if a note or rest is selected, if I instead have nothing selected or select a bar line, the hang does happen.
Any suggestion on what to do next?