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

QTextEdit signal textChanged() is emitted even if the editor contents was not changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.0.1, 5.2.1
    • None
    • ubuntu 13.10 64bits, fedora 20 64bits

    Description

      The signal textChanged() in QTextEdit is emitted when first the editor is focused and then one clicks outside the editor and then back in. The signal is emitted even if the editor was not changed.
      This bug does not appear in qt 4.8.4.

      Attached an example to test this.

      This also happens with the contentsChanged signal os the QTextDocument associated with the QTextEdit in question.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            q.quark Mihai Niculescu
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes