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

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

XMLWordPrintable

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

      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 ] ];

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

            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

              Created:
              Updated:

                There is 1 open Gerrit change