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

QTextDocument generate contentsChanged just once after app start

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2, 6.2.0 Beta1
    • None
    • Linux/Wayland, Linux/X11

    Description

      I have a simple application with QTextEdit

      And when I start application and when I click into QTextEdit, QTextEdit(QTextDocument) will emit

      contentsChange and contentsChanged

      this ony behave like this on Linux( ubuntu 20.04, 21.04) all fine on windows

       

      It behavie like this only on first focus to QTextEdit

      all other focuses are fine

      contentChange emit with all removed and all added

       

      Just start Example and click into one QTextEdit and on my systems I can see emit contentsChange  and contentsChanged

       

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            miskol MICHAL LAZO
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes