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

findText improvements

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P2: Important
    • None
    • None
    • WebEngine
    • None

    Description

      I've been thinking about some improvements for QWebEnginePage::findText to make it more powerful than QtWebKit's equivalent.

      Features I'd like to see:

      • A way to get the positions of all matches, to present the user with a list of matches, and the index of the currently selected match.
      • An equivalent to QWebPage::FindWrapsAroundDocument and maybe the other QWebPage::FindFlags (though I don't need the others myself)
      • The ability to search for a regex on the page instead of a fixed text
      • A flag to start (or continue) the search at the position the page is scrolled to, rather than the top or the next match.

      I have no idea how feasible those would be, which is why I decided to open a single bug for them for now, to discuss what makes sense and what doesn't.

      Attachments

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              the compiler Florian Bruhin
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes