Bug 301960

Summary: Text is highlighted after search field is closed
Product: [Applications] okular Reporter: Aleh <aleh>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: fabiodurso
Priority: NOR    
Version: 0.14.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.0
Sentry Crash Report:

Description Aleh 2012-06-15 10:03:48 UTC
If close search field pressing "esc" without wiping search word, search results are highlighted. Sometimes it is very annoying.

Reproducible: Always
Comment 1 Albert Astals Cid 2012-07-11 20:56:45 UTC
Git commit 0c92af1e296017582604be53954e5cf55d2b1116 by Albert Astals Cid.
Committed on 11/07/2012 at 22:54.
Pushed by aacid into branch 'master'.

Remove search highlights on pressing Esc
FIXED-IN: 4.9.0

M  +1    -0    ui/pageview.cpp

http://commits.kde.org/okular/0c92af1e296017582604be53954e5cf55d2b1116
Comment 2 Albert Astals Cid 2012-07-11 20:58:26 UTC
Git commit 4c94ecab239f3506a7407ad004174cc095b9c189 by Albert Astals Cid.
Committed on 11/07/2012 at 22:54.
Pushed by aacid into branch 'KDE/4.9'.

Remove search highlights on pressing Esc
FIXED-IN: 4.9.0

M  +1    -0    ui/pageview.cpp

http://commits.kde.org/okular/4c94ecab239f3506a7407ad004174cc095b9c189
Comment 3 Fabio D'Urso 2012-07-11 23:13:18 UTC
For the record, note that ESC must be pressed twice:
1) The first press hides the search bar (but highlighted results stay visible)
2) The second one actually hides the highlighted results

This is the same behavior as katepart's "Find all" feature.