[okular] [Bug 384267] Found text (ctrl-f) highlight color should use System Settings "selection background" color, not be hard-coded yellow

Paul Preney bugzilla_noreply at kde.org
Sun Oct 3 04:18:54 BST 2021


https://bugs.kde.org/show_bug.cgi?id=384267

Paul Preney <paul at preney.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul at preney.ca

--- Comment #17 from Paul Preney <paul at preney.ca> ---
I also have issues with this. 

I run with KDE Night Mode enabled (i.e., the screen is significantly shifted
towards yellow/orange). This causes yellow highlights to become essentially
invisible (or very hard to to see) on the page. Also I regularly search PDFs
with lots of small text and it can be hard (even without Night Mode on) to
easily find bright-yellow on the page. More contrast to improve visibility is
needed with Ctrl-F highlighting.

ASIDE: Yellow is a great highlight colour when NOT using Night Mode, colour
inversion, large text, and/or reviewing using yellow --otherwise it is the
worst (as implemented in okular since Night Mode renders it essentially
invisible, inversion makes it unseen-black and viewing using yellow essentially
makes it unseen if the two overlap).

Choosing any of the Accessibility settings does not work since none of these
changes the highlight to something noticeable/contrasting. In most situations
those settings the Ctrl-F hard-coded yellow background becomes invisible (i.e.,
essentially black if inverting colours) and although the letters highlighted
are a slightly brighter/bolder yellow but such is not easy to see with Night
Mode off (and essentially impossible to see with it on).

I would like to ask that the Ctrl-F highlight be configurable as follows:
  * Status quo: Default to what currently happens.
  * Allow the user under Accessibility to choose a some sort of "High contrast
invert" for Ctrl-F matches.

The high contrast invert would completely invert what is underneath the Ctrl-F
highlight box. Sure if the area underneath is 50% gray the inversion would be
~50% gray, i.e., useless, but Ctrl-F matches text and virtually all PDF pages
have significant contrast between text and what is underneath the text so that
a colour inversion should be very visible. Most documents though, the inversion
would make Ctrl-F finds white letter with a black background.

It would also be ideal to make user-customizable the colour of the border of
the box that surrounds the Ctrl-F yellow highlight. The current colour "black"
is useless: it blends in to the page's text (i.e., it doesn't draw the user's
attention to the found text) and if Accessibility's invert colour (etc.) is
chosen it becomes invisible, etc.

Currently there are times when the only way I can see where a match is on a
page is to turn off Night Mode completely --and even then I have to look
carefully because most PDFs I look at have a lot of small text in them --the
yellow is too subtle a colour for such to stand out easily.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list