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

QML TextEdit fires textChanged signal twice when backspace is pressed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.3.1
    • Labels:
      None
    • Environment:
      Windows

      Description

      1. Create a TextEdit and provide a handler for onTextChanged.
      2. Type some characters, and note that the handler is only called once for each character.
      3. Press Backspace and note that the handler is called twice! If you print the value of text and its length in the handler you will see that they are the same each time the signal is fired.

        Attachments

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

          Activity

            People

            Assignee:
            aalpert Alan Alpert
            Reporter:
            leonard777 Corey Pendleton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes