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

QPainter::drawPoint draws a long horizontal line on Symbian after matrix operations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.6.3
    • GUI: Painting
    • None

    Description

      This applies to Symbian S60v5. Not tested on Symbian^3. Qt 4.6.3. On the Simulator (windows) it works as expected.

      First apply the following transformation inside widget paintEvent:

      painter.save();
      painter.scale( 36000, -36000 );
      painter.translate( QPointF( -42.8679147, -12.5580148 ) );

      Then draw a point:
      painter.drawPoint( QPointF( 42.8679147, 12.5580148 ) );

      The drawPoint will draw an horizontal line instead of a point.

      Similar behaviour happens with drawLines( QVector<QLineF> ); on certain combinations of lines.

      Attachments

        1. bugCheck.zip
          21 kB
        2. drawPoint.zip
          0.7 kB
        3. enhanced_bugcheck.zip
          4 kB
        4. windows-Qt5.4.1_painterbug.zip
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jhautaka Jani Hautakangas
            gardiol Willy Gardiol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes