detached stem after fix notes to line

• Nov 26, 2016 - 12:53
Reported version
3.0
Priority
P1 - High
Type
Functional
Severity
S3 - Major
Status
closed
Regression
No
Workaround
No
Project

on github-musescore-musescore-d61b0d open attached file of this measure:

drum-before-fix-to-line0.png

1. select all notes in attached score via inspector
2. press Fix to line 0.

result has the stems detached from the noteheads:

drum-after-fix-to-line0.png

It seems after doing some operations (I don't know what exactly), the glitch will fix itself.

Attachment Size
detached_stem_when_fix_to_line_0.mscz 3.45 KB

Comments

the fact that it fixes itself after further edits suggests the problem is that we are not properly relaying out the measure, presumably a result of the new partial relayout code and the flags not being set correctly. Or something like that. I keep putting off spending the necessary time to get inside and understand the new layout code, but since the fix to line code was mine to begin with, I guess I'll take this as an opportunity.

IMHO, since it is about 3.0alpha-06 which means sharing the current state of 3.0 more or less publicly, I think about the number of feedback from users. Such visual glitches lead to the most number of requests, I believe. So, it is not major for functionality, but is major in terms of user experience.

The reason is in not called relayouting for stems somewhere. Workaround: select stems, Check "Automatic placement" off (fixes the positions) and then on.