Add / Text / Title et al does not reposition score view to show the text being added

• Nov 24, 2013 - 21:02
Type
Functional
Severity
S4 - Minor
Status
closed
Regression
Yes
Workaround
Yes
Project

Windows 7, GIT commit: 3543170

1) open attached score (or any score)
2) hit Page Down or otherwise position score so second page only is showing in window
3) Add / Text / Title (or Subtitle, or Composers, or Lyricist)

Result: nothing, apparently ... actually, a cursor is placed in the correct spot at the top of the first page, and anything you type will appear there, but you don't know it because the score view is not repositioned there.

Attachment Size
text-scoreview.mscz 2.38 KB

Comments

Status closed active
Regression No
Workaround No

Came up again in #288090: Some issues when inserting text. The score will not reposition itself if there is not already a title frame before the first measure. The reason is that at the time adjustCanvasPosition is called, the new title frame does not have a system yet, so the function exits prematurely. This is fixed by adding a call to Score::update after the call to Score::insertMeasure.

Fix version
3.1.0