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

findText improvements

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: WebEngine
    • Labels:
      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes