Line drawing does not work when 90 degree T hooks are combined with another hook.
Reported version
3.x-dev
Priority
P1 - High
Type
Graphical (UI)
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
The way the layout of lines is written is with 4 points that are traced out to make the line. This is normally fine because two points draw the line and the other points draw each hook. When there is a T hook involved, however, there is another point. This normally is fine since T hooks are not usually combined with other hooks, but in the case that it is, it all goes crazy. I'm still investigating the issue, but so far it has created irreversible (except for deleting the element) visual bugs, as well as a crash.
Here is how to reproduce the bug.
1. Create a new score
2. Add a line anywhere to the score
3. Set the beginning hook to anything except for "None"
4. Set the end hook to 90 T
Fix version
3.3.0
Comments
https://github.com/musescore/MuseScore/pull/4957/files
Fixed in branch master, commit 27bd6ca5be
fix #288169, #287889: draw lines when there are two hooks and draw hooks solid
Fixed in branch master, commit 4c61088dc6
_Merge pull request #4957 from peterhieuvu/hook-drawing
fix #288169, #287889: draw lines when there are two hooks and draw hooks solid_
fixed in master but not (yet) in 3.3Beta
Automatically closed -- issue fixed for 2 weeks with no activity.