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

Webengine selection is not cleared when we load other html file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.14.2, 5.15.0 Beta1
    • 5.14.0
    • WebEngine
    • None
    • df5d831bae99662fab43ed2628187113c18aac2c (qt/qtwebengine/5.14)

    Description

      Hi,

      it's not this bug https://bugreports.qt.io/browse/QTBUG-53033 as in kmail now I use loading html from file I don't use setHtml directly but it's the same probem.

       

      load test case:

      select text in html => click "show selection" you will see correct selected text ok

       

      now we load another html file (see html you will see "Akregator est un agrégateur de flux pour KDE. Load version <version number> !!!" so the html is changed

       

      but now click on "show selection" you will see old selection!

       

      For me it's a big bug in kmail as we can reply to email with selected text.

       

      Regards

      Attachments

        Issue Links

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

          Activity

            People

              kiburtse Kirill Burtsev
              montel Montel Laurent
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes