RESOLVED FIXED 44061
[Qt] Path::closeSubpath() should only close the last subpath if it has >1 point
https://bugs.webkit.org/show_bug.cgi?id=44061
Summary [Qt] Path::closeSubpath() should only close the last subpath if it has >1 point
Andreas Kling
Reported 2010-08-16 09:28:28 PDT
The current implementation calls QPainterPath::closePath() indiscriminately which leads to rendering artifacts. See for example: http://www.kevs3d.co.uk/dev/canvask3d/k3d_test.html
Attachments
Proposed patch (5.27 KB, patch)
2010-08-16 09:34 PDT, Andreas Kling
no flags
Proposed patch v2 (6.45 KB, patch)
2010-08-16 16:22 PDT, Andreas Kling
no flags
Proposed patch v3 (6.39 KB, patch)
2010-08-16 17:26 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2010-08-16 09:34:37 PDT
Created attachment 64500 [details] Proposed patch
Ariya Hidayat
Comment 2 2010-08-16 14:16:38 PDT
Comment on attachment 64500 [details] Proposed patch Per our discussion on IRC, let's try another approach first. Clearing the review flag.
Andreas Kling
Comment 3 2010-08-16 16:22:47 PDT
Created attachment 64534 [details] Proposed patch v2
Andreas Kling
Comment 4 2010-08-16 17:26:21 PDT
Created attachment 64537 [details] Proposed patch v3 As per discussion on IRC, track last subpath via a new (Qt-only) int member in Path.
Ariya Hidayat
Comment 5 2010-08-16 17:34:30 PDT
Comment on attachment 64537 [details] Proposed patch v3 LGTM. re=me
Andreas Kling
Comment 6 2010-08-16 17:41:23 PDT
Comment on attachment 64537 [details] Proposed patch v3 Clearing flags on attachment: 64537 Committed r65472: <http://trac.webkit.org/changeset/65472>
Andreas Kling
Comment 7 2010-08-16 17:41:39 PDT
All reviewed patches have been landed. Closing bug.
Simon Hausmann
Comment 8 2010-08-24 03:06:15 PDT
Revision r65472 cherry-picked into qtwebkit-2.1 with commit c2aaec160209c180b6bf0ef9c14e706adf841498
Note You need to log in before you can comment on or make changes to this bug.