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

QML TextEdit fires textChanged signal twice when backspace is pressed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.3.1
    • 5.2.0
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: