Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.9, 5.15.0
-
None
Description
See the below demo code:
path.moveTo(95.26263883128254, 240.5478666666667); path.cubicTo(170.4208796104275, 282.11466666666666, 245.49135802469135, 282.11466666666666, 320.4740740740741, 240.5478666666667); QPen pen(QBrush(Qt::black), 30.0, Qt::SolidLine, Qt::FlatCap, Qt::RoundJoin); pen.setDashPattern(QVector<qreal>() << 4.0 << 3.0 << 1.0 << 3.0); painter.strokePath(path, pen);
The first part of the line ends with rounding, which seems bug for us.
We expected render as the below image:
It seems that the changes of QTBUG-75008 introduced the problem, as when reverted it works.