Bug 242026

Summary: Scrollback searches restart on focus
Product: [Applications] konsole Reporter: Jake Eakle <jseakle>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 2.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: a more complicated test case

Description Jake Eakle 2010-06-17 21:09:33 UTC
Version:           2.4.2 (using KDE 4.4.2) 
OS:                Linux

If you use the scrollback history search feature, then click next to find the next occurrence of the search term, then switch to a different tab, and then switch back to the tab in which you are searching, Konsole will scroll back up to the first instance of the search term, rather than the one you stopped on previously.

Reproducible: Always

Steps to Reproduce:
open Konsole
press ctrl-shift-n (new tab)
type "#TEST ONE" (no quotes) and then hit enter
press ctrl-l (clear)
type "#TEST TWO" (no quotes) and then hit enter
Press ctrl-shift-f (search)
type "TEST" (no quotes). The view should scroll up, and the word TEST in #TEST ONE should be highlighted.
click 'Next' in the search bar. It should scroll down, and now the word TEST in #TEST TWO should be highlighted. 
click on the other open tab
click on the tab in which you were searching
now the view is scrolled back up, with TEST in TEST ONE highlighted, which is incorrect or at least extremely annoying behavior.


Actual Results:  
first instance highlighted

Expected Results:  
searched-for instance still highlighted
Comment 1 Hans-Rudi Denzler 2010-06-18 16:52:29 UTC
Created attachment 48113 [details]
a more complicated test case

a.) different behavior then above -> scrolling
b.) with window size 91 x 4: press 4 x F3 for complete scrolling
                     91 x 5: F3 has no impact
                     91 x 6: press 3 x F3 for complete scrolling
Comment 2 Kurt Hindenburg 2010-06-18 17:01:38 UTC

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