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

QTextDocument will enter a new paragraph only after "Enter" is pressed 3 times

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.3.1, 6.3.2, 6.4.1, 6.4.2, 6.4.3
    • GUI: Text handling
    • None
    • Linux/X11, Windows

    Description

      If to fill QTextDocument with QTextCursor, as shown in the attached example, then appending new paragraph with empty new line between possible only after pressing "Enter" button 3 times, whereas expected is two. I don't see this problem with Qt 5.15, but with Qt 6.3.1.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            igor.mironchik Igor Mironchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes