The "Line" disappears if end point is to left of start point
MuseScore 2.0 Beta1 (ditto in Nightly, October 2) /Windows7
First reported on the French forum: http://musescore.org/fr/node/35156
1. Open default score
2. Open the Lines palette -> Drag and drop a Line (single Line) on the score
3.Double-click to edit its length and position
Result: everything is ok until this line does not exceed the vertical position.
Beyond that, it disappears.
This bug appeared between the commit , correct (August 22, 11:07 p.m.): https://github.com/musescore/MuseScore/pull/1201
and the commit, incorrect (August 23, 6:39 p.m.) : https://github.com/musescore/MuseScore/pull/1153
So, maybe here: https://github.com/musescore/MuseScore/pull/1205
or (?, less likely): https://github.com/musescore/MuseScore/commit/d16e51e433e3027a157765af7…
or others (?): a lot of activity this day of 23 August.
- You will notice that "before" that (in the correct Nightly), the default length of the line was very short.
And "after", it had the default length of the measure. Cause and effect?
Comments
Yes, good work again narrowing it down! Part of the fix for short pedal and other types of lines was to prevent them from being drawn "backwards" (if endpoint of line is to left of end of text) but obviously that shouldn't apply to simple lines as well. Should be an easy fix.
BTW, you also get "ghost" images while dragging a line if it has text and a backwards line, due to the bbox being calculated incorrectly.
Ah, "ghost" images. It reminds me of some memories also... :)
https://github.com/musescore/MuseScore/pull/1349
Regarding the ghost images on drag, you should see those for any text line where the line itself is not drawn because it would be shorter than the text but also for any diagonal line with text. In the latter case, you would also find difficulties selecting the textline. This is also fixed in the PR.
Fixed in 25f2d6e2e5
Automatically closed -- issue fixed for 2 weeks with no activity.