Bug 301960 - Text is highlighted after search field is closed
Summary: Text is highlighted after search field is closed
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.14.3
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-15 10:03 UTC by Aleh
Modified: 2012-07-11 23:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0


Attachments

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