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

QtQuick2 TextEdit emits unnecessary cursorRectangleChanged on all kinds of modifications

    XMLWordPrintable

Details

    • d84c13041 (dev), 3bff95324 (6.7), 4cf08f075 (6.6), 6a727f500 (tqtc/lts-6.5)

    Description

      All sorts of modifications are emitting cursorRectangleChanged() signal. Test case attached.

      Appears to have been introduced by

      commit 7bd68f6447c79aa58a9854bb6c44db00ea36a06a
      Author: Andrew den Exter <andrew.den-exter@nokia.com>
      Date: Wed Apr 18 17:20:24 2012 +1000

      Ensure the cursor delegate position is correct when wrapping.

      ...which added moveCursorDelegate() call to geometryChanged(). The method gets called as result from q_textChanged -> updateSize() -> setImplicitSize(). By chance it's only avoided in default case of no word wrapping.

      Attachments

        Issue Links

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

          Activity

            People

              denexter Andrew den Exter (closed Nokia identity) (Inactive)
              p2vuorel Pekka Vuorela
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes