Bug 34886 - [Qt] QWebView::findText( QString() ); Should clear any highlights.
Summary: [Qt] QWebView::findText( QString() ); Should clear any highlights.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2010-02-12 04:15 PST by kde
Modified: 2010-03-11 07:14 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2010-02-12 04:15:13 PST
(Version is a guess, it's the one from Qt 4.6.x)

When calling findText() with the highlighAllOccurences flag set text is highlighted as it should, however I've been unable to remove this highlighting after the searches are done. 

According to the documentation for findText() I get the impression that calling this function with an empty string should clear all highlights but this is not the case.

/Regards
Comment 1 Tor Arne Vestbø 2010-03-10 06:40:52 PST
Please follow the QtWebKit bug reporting guidelines when reporting bugs.

See http://trac.webkit.org/wiki/QtWebKitBugs

Specifically:

  - The 'QtWebKit' component should only be used for bugs/features in the
    public QtWebKit API layer, not to signify that the bug is specific to
    the Qt port of WebKit

      http://trac.webkit.org/wiki/QtWebKitBugs#Component

  - Add the keyword 'Qt' to signal that it's a Qt-related bug

      http://trac.webkit.org/wiki/QtWebKitBugs#Keywords
Comment 2 Kent Hansen 2010-03-11 07:14:24 PST
Please add a testcase.