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

QColor equality operator unexpectedly returns false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 6.2.12, 6.5.6, 6.6.3, 6.7.2, 6.8.0 Beta4
    • GUI: Other

    Description

      When comparing a source color which has been made lighter via QColor::lighter() (or darker via QColor::darker()) and a duplicate color created from the modified source color's rgba value using QColor::fromRgba(QRgb rgba), the equality operator returns false.

      Attached example project reproduces the issue.

      Attachments

        1. qtbug128798.zip
          1.0 kB
          Lysandra Sola
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jokarlss Jonas Karlsson
            lysandra.sola Lysandra Sola
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes