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

Inserting a new line (not new paragraph) in a QTextEdit causes the caret to draw incorrectly until the next character is inserted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.11.2, 5.12.1, 6.8.0 FF
    • GUI: Text handling
    • None
    • macOS

      STEPS TO REPRODUCE
      1. Build and run the attached test app.
      2. Type 'TEST' into the text edit.
      3. Press Shift+Enter to insert a new line.

      EXPECTED: The caret moves to the start of the new line, with the correct size.
      ACTUAL: A correctly-sized caret draws too high on the new line, and an incorrectly-sized caret blinks at the start of the line.

      4. Now type another letter T. Observe that the caret corrects itself.

      I've attached screenshots demonstrating the problem.

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

            esabraha Eskil Abrahamsen Blomfeldt
            jlarcombe James Larcombe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes