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

QPainter::drawLines does not always give the same output as multiple calls to QPainter::drawLine

    XMLWordPrintable

Details

    • Windows
    • 05d52685028a46e340d610093c7e7c98479ac18b (qt/qtbase/5.14)

    Description

      In Qt 5.12.3 on Windows, given a number of lines to draw, a QPainter instance seems to give different output between a single call to drawLines and iterative calls to drawLine. In the case of drawLines, some of the lines were not visibly rendered at all.

      See attached file for a minimal reproduction - the vast number of lines is a set of data known to produce the issue, and removing lines made the issue more difficult to observe. The output of iterative calls to drawLine is displayed in green, while that of a single call to drawLines is displayed in red.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            david_fmod David Cagnacci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes