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

[REG 4->5.3] "QTextCursor::setPosition: Position '...' out of range" warnings when setting rich text with word wrap on QLabel

    XMLWordPrintable

    Details

    • Platform/s:
      macOS

      Description

      Qt Creator reports many warnings when opening the settings dialog:

      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '113' out of range
      QTextCursor::setPosition: Position '113' out of range
      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '57' out of range
      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '80' out of range
      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '86' out of range
      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '28' out of range
      QTextCursor::setPosition: Position '1' out of range
      QTextCursor::setPosition: Position '22' out of range
      QTextCursor::setPosition: Position '20' out of range
      QTextCursor::setPosition: Position '23' out of range
      QTextCursor::setPosition: Position '1' out of range
      

      qtbug38178.zip produces 2 warnings. One goes away when moving setText before show()

        Attachments

        1. qtbug38178_stack.txt
          7 kB
          Friedemann Kleint
        2. qtbug38178.zip
          1 kB
          Friedemann Kleint

          Issue Links

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

            Activity

              People

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              kleint Friedemann Kleint
              Votes:
              19 Vote for this issue
              Watchers:
              27 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes