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

QRectF::contains(QRectF) always returns false, if any of argument's size is 0.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.7.2
    • None

    Description

      QRectF(0,0,10,10).contains(QRectF(1, 1, 1, 1)) returns true, it's ok
      QRectF(0,0,10,10).contains(QRectF(1, 1, 0, 0)) returns false, it's bug

      Attachments

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

        Activity

          People

            earthdomain Earth Domain (Inactive)
            lapidarno Denis Pesotsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes