Bug 311034 - default search result and highlight colours are the same - usability problem
Summary: default search result and highlight colours are the same - usability problem
Status: RESOLVED DUPLICATE of bug 273968
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.14.3
Platform: Mageia RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-02 17:18 UTC by Stephan Wassipaul
Modified: 2013-02-19 10:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
search result surrounded by highlighted text (48.52 KB, image/png)
2012-12-02 17:19 UTC, Stephan Wassipaul
Details
search result within highlighted text (44.68 KB, image/png)
2012-12-02 17:19 UTC, Stephan Wassipaul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Wassipaul 2012-12-02 17:18:35 UTC
The default highlighting colour is yellow, but the default colour to mark search results is also yellow. This makes search results hard to locate when they are surrounded by highlighted text, and impossible to locate when they were themselves previously highlighted.

Reproducible: Always

Steps to Reproduce:
1. Highlight text in a document
2. Go to a different page of the document
3. Search for a word contained in or close to the text you just highlighted
Please also see the screenshots attached, they illustrate the problem nicely.
Actual Results:  
The word will not stand out, you will have to search for the word manually.

Expected Results:  
The default colour for either highlighting text or search results should be altered.

I struggled a bit with reporting this bug, as it involves 2 different problems:

1) Search results surrounded by highlighted text are hard to locate
2) Search results within highlighted text are impossible to locate

The proper solution for 2) would probably be to change the colour used for search results under certain conditions, as Firefox (switches colour between text and background) does. This would solve 2) also in weird cases (searching on documents which have a background color that equals the color used for hightlighting search results). It does not, however, adress 1). The proper solution for 1) would probably be to reserve one colour (+invertion of it) exclusively for marking search highlights, thus not allowing a user to change the colour of an annotation to this reserved colour.
However, changing default colours is probably good enough to solve 1) and 2) for almost all use cases.

Legal note: The document shown in the screenshots is a judgement of the ECJ and thus not protected by copyright. It may thus be replicated here.
Comment 1 Stephan Wassipaul 2012-12-02 17:19:18 UTC
Created attachment 75591 [details]
search result surrounded by highlighted text
Comment 2 Stephan Wassipaul 2012-12-02 17:19:56 UTC
Created attachment 75592 [details]
search result within highlighted text
Comment 3 Florian Moretz 2013-02-19 07:31:08 UTC
This is a duplicate of this bug:

https://bugs.kde.org/show_bug.cgi?id=273968
Comment 4 Stephan Wassipaul 2013-02-19 10:41:38 UTC
That's true, thank you. I searched for previous bug reports, but did not find any. I'll close this bug as duplicate.

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