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

QmlTextInput and QmlTextEdit are not updated on many property changes

    XMLWordPrintable

Details

    • fad4cdb70323a2c1925c31917ce2b6cff62748b0

    Description

      QmlGraphicsTextInput::setHAlign e.g. is not calling updateRect(). So the paint cache is not cleared and the alignment change is not reflected in the next paint.

      For example:

      void QmlGraphicsTextInput::setHAlign(HAlignment align)
      {
      Q_D(QmlGraphicsTextInput);
      if(align == d->hAlign)
      return;
      d->hAlign = align;
      emit horizontalAlignmentChanged(d->hAlign);
      }

      should be:
      void QmlGraphicsTextInput::setHAlign(HAlignment align)
      {
      Q_D(QmlGraphicsTextInput);
      if(align == d->hAlign)
      return;
      d->hAlign = align;
      updateRect();
      emit horizontalAlignmentChanged(d->hAlign);
      }

      should be

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            menard Alexis Menard (closed Nokia identity) (Inactive)
            bubke Marco Bubke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes