Diagonal line: End hook can disappear or elongate when Begin hook is set to "None"
Reported version
3.2
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.3.0.8267, revision: e36df56
- Open the attached file and select the second line below the staff.
- Set to "Allow diagonal," and Begin hook to "None."
- Now drag the end handle vertically downwards.
Result: The end hook increases in length the more you drag the line. - Reset the file and select the line again. Set to "Allow diagonal," and Begin hook to 90° (say)
- Drag end handle vertically downwards, then set Begin hook to "None."
Result: The end hook disappears. - Now drag the end handle down again
Result: The end hook grows longer again.
See also: #284461: Line Issue - Hooks on diagonal lines are skewed.
Attachment | Size |
---|---|
line_issue.mscz | 7.53 KB |
Fix version
3.5.0
Comments
See PR https://github.com/musescore/MuseScore/pull/5917
Apparently, the reason was a typo (found also by PVS-Studio analysis) and a wrong "npoints" number (in the code, for this case npoints represents the number of lines being drawn instead of the number of points, so just one line must be drawn for the None-None case).
Fixed in branch master, commit bda740ff66
fix #294298 : Diagonal line: End hook can disappear or elongate when Begin hook is set to None
Fixed in branch master, commit 05574746c2
_Merge pull request #5917 from AntonioBL/textlines
fix #294298 : Diagonal line: End hook can disappear or elongate when …_
Automatically closed -- issue fixed for 2 weeks with no activity.