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

QWebEngineView findText does not clear previous findText's highlight results at certain conditions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.7.3, 6.8.0 Beta3, 6.9.0 FF
    • 6.7.2
    • WebEngine
    • None
    • 7f47a253b (dev), e23a577e1 (6.8), 010b90bdc (6.7)

    Description

      as title.

       

      This is the code:

      //set view and load a url .

      QWebEngineView view;

       

      //findText ,the webview only contain AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

        QWebEnginePage::FindFlags f( 0 );
         view.findText("a",f);   //there are results in the page, and the results have been highlighted.   correct.
        f |= QWebEnginePage::FindCaseSensitively; 
         view.findText("a",f);   //there is no results matched.  but the previous highlight results have not been cleared.

       

      Attachments

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

        Activity

          People

            kchehlarski Kaloyan Chehlarski
            xiaoyifang yifang xiao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes