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

    • 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

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              kleint Friedemann Kleint
              Votes:
              20 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes