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

QColorDialog opens with incorrect initial colour

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.4.0
    • None
    • Linux and Windows

    Description

      When you call QColorDialog::getColor with QColorDialog::DontUseNativeDialog, and the initial colour set to a colour in the "Basic colors", the dialog will open with the colour set to the colour in the grid with the opposite x and y position.
      For example, when the initial colour is set to rgb(170, 0, 0) located at <1, 0>, it will come up as rgb(0, 0, 127) located at <0, 1> in the grid. Then when you open it again with the new initial colour the opposite happens.

      Attachments

        Issue Links

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

          Activity

            People

              mmutz Marc Mutz
              yokljo Joshua Worth
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes