Crash with fotomode (when switching out of it)

• Jun 9, 2020 - 15:40
Reported version
3.x-dev
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

actually a failed assertion, so only seen in Debug mode:

Fatal: ASSERT: "!isLocked()" in file ...\libmscore\select.cpp, line 327

Looks like a missing a call to Selection::unlock() when switching out of ViewState::FOTO_DRAG_OBJECT

See also https://musescore.org/en/node/305125#comment-998344


Comments

From the developers' chat:
when dragging the capture frame, the ScoreView::startDrag method is called, and the ScoreView::endDrag method is not called, so unlock is not done.

Fix version
3.5.0