Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13429

CLONE -drawPoint: point is only occasionally painted if set to Qt::SquareCap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.6.3
    • GUI: Painting
    • None
    • Qt 4.6.3 on Windows(vs2005)
    • 7c673a4cf64ba043bb27f90287517bdcdd7a21db 93199a5b7082fd484b7f21ad4825d71693ecead2

    Description

      This issue seems to be strongly related to QTBUG-6721.

      I'm running Qt 4.6.3 on Windows (vs2005). My application draws points using

      QPainter *p = ...;
      pen.setWidth(250);
      pen.setColor(Qt::red);
      pen.setCapStyle(Qt::SquareCap);
      p->setPen(pen);
      for (pt in points)

      { p->drawPoint(pt); }

      When using Qt::SquareCap, points are only actually drawn at random. Very few points are occasionally visible, most of them aren't, but it's not deterministic.
      When changing to Qt::RoundCap, all points show up just fine.
      I did not have this problem in Qt 4.5.
      Hopefully I'll find the time to build a small testcase this weekend.

      Best regards,
      Jan

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rodal Samuel Rødal
            oberlaender Jan Oberländer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes