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

Regression: changes to Text element properties break further changes to font

XMLWordPrintable

      The attached qml works in qmlviewer and QtQuick 1.1, but not qmlscene, QtQuick 2.0

      On a click the text should become bold. On a doubleclick the text should become italic. Neither of these occur.
      These properties work as normal when initially set in the Text element, but not after being created.

      The following do not work and cause breakages:
      font.strikeout
      font.bold
      font.capitalization
      font.family
      font.italic
      font.letterSpacing
      font.pixelSize (works once, but then not afterwards)
      font.strikeout
      font.underline
      font.weight
      font.wordSpacing

        1. textelementrepaintbug.qml
          0.5 kB
          Damian Jansen (closed Nokia identity)
        2. fontstatechangebug.qml
          2 kB
          Damian Jansen (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bodson Yann Bodson (Inactive)
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes