Bug 242026 - Scrollback searches restart on focus
Summary: Scrollback searches restart on focus
Status: RESOLVED DUPLICATE of bug 168769
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.4.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 21:09 UTC by Jake Eakle
Modified: 2010-06-18 17:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
a more complicated test case (55.48 KB, image/png)
2010-06-18 16:52 UTC, Hans-Rudi Denzler
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***