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

QPalette doesn't return the correct color when querying QPalette::PlaceholderText

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.0.1
    • GUI: Look'n'Feel
    • None
    • macOS, Windows

    Description

      On both macOS and windows, black is returned when querying Qpalette for the place holder text color. While I have no idea how to query the correct color on windows, it can be retrieved on macOS using

      NSColor * placeholderTextColor = [ [ NSColor placeholderTextColor ] colorUsingColorSpace: [ NSColorSpace deviceRGBColorSpace ] ];

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-92947
          # Subject Branch Project Status CR V

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              gvanvoor Gregory Van Vooren
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change