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

Qt Quick text color too dim with nativeText on mac

    XMLWordPrintable

Details

    • macOS
    • 72af16f7f48fec3d13e6537953d723cc7a50841e

    Description

      Attached is a screenshot showing the output of

          Column {
              anchors.centerIn: parent
              Text {
                  color: "#123"
                  font.pixelSize: 40
                  text: "Text: native"
                  renderType: Text.NativeRendering
              }
              Text {
                  color: "#123"
                  font.pixelSize: 40
                  text: "Text: native + sunken"
                  renderType: Text.NativeRendering
                  style: Text.Sunken
              }
              Text {
                  color: "#123"
                  font.pixelSize: 40
                  text: "Text: distancefield"
                  style: Text.Sunken
              }
          }
      

      Note that the renderType is too dim. This seems to applies on any color values that are not completely on or off in any given color channel. I.e black, white or red works but anything involving desaturated colors or shades of gray are wrong. Also note that setting a style fixes the color issue.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            bachewii Jens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes