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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0.1
    • Fix Version/s: None
    • Component/s: GUI: Look'n'Feel
    • Labels:
      None
    • Platform/s:
      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

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              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