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

Incorrect color set using QColorDialog::setCurrentColor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.0 RC, 5.4.0
    • Fix Version/s: 5.4.1
    • Labels:
      None
    • Environment:
      Ubuntu Linux 14.04, Arch Linux x86_64, Windows 7, OS X Mavericks

      Description

      QColorDialog::setCurrentColor sets the incorrect color when the QColorDialog::DontUseNativeDialog option is set.

      This causes an application to crash if the currentColorChanged signal is used to bind the color property between widgets.

        Attachments

        1. colortest.cpp
          0.3 kB
        2. main.cpp
          0.5 kB
        3. QTBUG-42988.patch
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            chehrlic Christian Ehrlicher
            Reporter:
            seamus Seamus Boyle
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes