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

CLONE - QPainter hangs thread on Mac OS X when providing NaN value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 5.12.3
    • Fix Version/s: None
    • Component/s: GUI: Painting
    • Labels:
      None
    • Platform/s:
      macOS

      Description

      QPainter code hangs the application/main thread after calling after setting painter to pen with Qt::dashLine and drawLine(int, int, int, int) method parameters for what was cast from double and that contains a NaN value. 

      Please use the attached example to reproduce the problem.

      The issue seems to be Mac OS X-specific, tested on Mac OS X 10.14.3

        Attachments

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bodyo Oheruk Bogdan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes