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

ColorEqual fails correctly comparing rgba constructed colors with hsva constructed colors

    XMLWordPrintable

Details

    • Linux/X11, macOS, Windows

    Description

      When comparing a RGB constructed color with an HSV constructed color, Qt.ColorEqual will always fail, even if the colors are equal:

       

      Sample Project is attached.

      Attachments

        1. colorEqual.PNG
          colorEqual.PNG
          20 kB
        2. colorEqual.zip
          5 kB
        3. image-2025-03-14-17-32-33-979.png
          image-2025-03-14-17-32-33-979.png
          93 kB
        4. image-2025-03-14-17-33-07-582.png
          image-2025-03-14-17-33-07-582.png
          52 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            denishessberger Denis Hessberger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes