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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.12.3
    • GUI: Painting
    • None
    • 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

            Unassigned Unassigned
            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