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

HTML formatting not getting cleared with QTextBrowser clear

    XMLWordPrintable

Details

    • Windows
    • 605634a88a05f175de77e1c7af59fd2a2e0cbc41 (qt/qtbase/5.12)

    Description

      If a QTextBrowser has some data with HTML formatting for the first line, Formatting is retained even after clear() is called. Adding subsequent data retains that formatting.
      Steps to reproduce:
      1. Execute the attached project.
      2. Click Add->Refereh.

      Newely added data is Bold even there is no such formatting after clearing data.
      Problem is only when cursor is moved to start after adding data.

      Attachments

        For Gerrit Dashboard: QTBUG-72427
        # Subject Branch Project Status CR V

        Activity

          People

            kkohne Kai Köhne
            shmittal Shveta Mittal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes