Bug 124888

Summary: Find text (Ctrl-F) counts found results wrong
Product: [Applications] konqueror Reporter: Markus Wagner <markus>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Entering the search term "Tracking" at the end of the page
Finding first occurence at begin of page
reported total count of occurences
total count after searching the 2nd time through the entire document

Description Markus Wagner 2006-04-04 10:10:23 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages
OS:                Linux

When searching for example in konqueror for a string with Ctrl-F and the current position within the document is beyond its first occurence, a dialog pops up, asking if to continue at the beginning. Once found it reports how many times the occurence was found. Agreeing to start the search again at the beginning of the document and finishing it - it keeps increasing the number of found occurences.

To reproduce:
1. Go to the end of the document
2. Search for (Ctrl-F) a string occuring in the page.
3. Agree to start the search from the beginning.
4. At the end of the page the found numbers is equal to the number of occurences.
5. Agree to start the search again at the beginning.
6. At the end of the page the found numbers just kept counting.
Comment 1 Philip Rodrigues 2006-04-04 23:53:13 UTC
Can't reproduce this here, using this bug page, and the search string "page". Can you give a particular page and search string for which this occurs?
Comment 2 Markus Wagner 2006-04-05 00:00:30 UTC
With the search string "page" i didn't have any luck either. You have to be at the be beyond its first occurence, like scrolling down on this page and searching for the word tracking. See screenshots.
Comment 3 Markus Wagner 2006-04-05 00:01:30 UTC
Created attachment 15457 [details]
Entering the search term "Tracking" at the end of the page
Comment 4 Markus Wagner 2006-04-05 00:02:44 UTC
Created attachment 15458 [details]
Finding first occurence at begin of page
Comment 5 Markus Wagner 2006-04-05 00:03:42 UTC
Created attachment 15459 [details]
reported total count of occurences
Comment 6 Markus Wagner 2006-04-05 00:04:23 UTC
Created attachment 15460 [details]
total count after searching the 2nd time through the entire document
Comment 7 Nick Warne 2006-04-05 11:56:28 UTC
Reported already:

http://bugs.kde.org/show_bug.cgi?id=124615
Comment 8 Philip Rodrigues 2006-04-05 18:22:11 UTC

*** This bug has been marked as a duplicate of 124615 ***