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

QTextDocument::find() with QTextDocument::FindBackward does not work when string is appended at the beginning of the document

    XMLWordPrintable

Details

    • e52fcb7dc78c83586c813f55f087a98bae4eaa0e

    Description

      Steps to reproduce the issue:

      1. Run attached sample project

      2. Press the "Append text and search" -button

      Expected outcome:
      The text is appended to the QTextEdit, find() succeeds and the appended text is selected.

      Actual outcode:
      The text is appended to the QTextEdit, but the find() fails and the appended text is not selected.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              tuomas.vaarala Tuomas Vaarala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes