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

"Pick Screen Color" from non-native QColorDialog is not working on Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.0
    • None
    • macOS

    Description

      "Pick Screen Color" from non-native QColorDialog is not working on Mac.

      Steps to reproduce:

      • Take "Standard Dialogs Example" from Qt examples
      • Build it with 5.12 Qt version
      • Try to use "Pick Screen Color" from non-native QColorDialog
        Actual: Unable to use the tool even inside the dialog it-self. It shows and picks incorrect color.
        Expected: "Pick Screen Color" shows and picks correct color inside the dialog and outside of it.

      Note: with Qt 5.6 libs QColorDialog has behavior inside the dialog but incorrect outside of it.

      Dirty Workaround: Use QTimer with QCursor::pos() for making QEvent::MouseMove for the dialog. And Objective-C++ with Native watcher for catching mysterious NSEvent(NSSystemDefined) for posting QEvent::MouseButtonRelease event.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              aleksey_golovanov Aleksey
              Votes:
              8 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes