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.
Created attachment 75591 [details] search result surrounded by highlighted text
Created attachment 75592 [details] search result within highlighted text
This is a duplicate of this bug: https://bugs.kde.org/show_bug.cgi?id=273968
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 ***