Problem: I do use highlight with the default color, when I search for a string I get the same highlight color, and therefore sometimes I can not really see where the highlighted string is, either because is already highlighted or because it cannot be easily differentiated from other highlighted text. Possible solution: Please add an option to customize the background color to highlight the search string. Reproducible: Always Steps to Reproduce: 1. Open a PDF document 2. Highlight a sentence. 3. Try to search a word in the highlighted sentence. Actual Results: It is hard to actually see where the found word is. Expected Results: The searched string is clearly visible. I am using 0.20.2 from debian stable, but I cannot select that version on the version select box.
Created attachment 95388 [details] An example of how the problem.
I suggest you change the default review highlight color which you can already do instead of asking us to do new code to let people choose the higlighint color? This doesn't mean we should probably include a black border so it's easier to differentiate search vs highlight.
Created attachment 96681 [details] Mendeley search result in highlighted text Here is an example of search match in highlighted text. I use mendeley and that kind of solution works fine.
Created attachment 96682 [details] Search feedback in google drive Another improvement to distinguish between search matches and highlighted text may be to add a search feedback with a pulsed background color on the text or similar. An example is google document search feedback (see attachment).
I have a patch that adds a black rectangle to the search results, but it needs https://git.reviewboard.kde.org/r/130214/ to go in first.
My patch is at https://git.reviewboard.kde.org/r/130238/ The above-mentioned preparatory patch has been committed as 024d25cdeca11f9cd012b4e5099b1b4cb91826de
Update: the patch is now at https://phabricator.kde.org/D7662
Git commit 004efa70e4a764bbd780d4f3e5bcaf40de70a1a6 by Albert Astals Cid, on behalf of Oliver Sander. Committed on 18/05/2018 at 15:27. Pushed by aacid into branch 'master'. Draw a dark rectangle around highlighted search results Summary: Makes it easier to distinguish search results from text with a 'highlight' annotation. Reviewers: #okular Subscribers: okular-devel, simgunz, cfeck, aacid, ngraham Tags: #okular Differential Revision: https://phabricator.kde.org/D7662 M +5 -0 ui/pagepainter.cpp https://commits.kde.org/okular/004efa70e4a764bbd780d4f3e5bcaf40de70a1a6