Bug 428840

Summary: Respect systemwide color scheme in viewer pane (perhaps by automatically invokine the appropriate "change colors" mode)
Product: [Applications] okular Reporter: a <bugsKde>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: bugsKde, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description a 2020-11-08 13:37:50 UTC
When Okular is setted in dark mode by OS theme or in Okular settings, in addition to the interface being dark, the PDF should turn black aswell, white background becomes black and white text becomes white/greyish, and picture white background becomes black, and for non B&W text/BG/picture you decide between invert color, let as is or modify only if it's too near to B&W (to not experience invisible picture), or maybe a liiiiitle white border around picture borders. And to not disapoint the user you make appear a banner to ask if the user wants to continue to use this PDF dark mode or to view this document in original colors or to always view original document color
Comment 1 a 2020-11-08 13:40:12 UTC
black text*
Comment 2 a 2020-11-08 13:41:08 UTC
invisible contents*
Comment 3 a 2020-11-08 13:42:06 UTC
liiiiitle white/greyish border*
Comment 4 a 2020-11-08 13:43:40 UTC
And neededless to say, you create an entry in the parameters to toggle this function manually and maybe to customize it a little
Comment 5 Laura David Hurka 2020-11-09 06:20:23 UTC
Are you aware of the “Change Colors” feature (Settings -> Configure Okular -> Accessibility)? It provides “Invert Colors”, but without any intelligence concerning pictures.

Can you describe what you wish additionally to that?
Comment 6 a 2020-11-09 11:43:52 UTC
The defaultness depending of the OS/Okular color settings, the banner, maybe the "picture intelligence" (or maybe not if you prefer to charge the user for transparency of pictures), turn grey instead of white for text (less aggressive), if picture border is adopted grey too
Comment 7 Nate Graham 2020-11-09 18:23:31 UTC
Are you basically asking for this "dark/inverted colors mode" to be invoked automatically when the system is using a dark theme or color scheme?
Comment 8 a 2020-12-23 12:45:06 UTC
Yeah
Comment 9 Nate Graham 2020-12-23 15:37:36 UTC
Could make sense. Kate now does this, and it's been very well received by users. Perhaps we could use the "change light and dark colors" feature, and plug in appropriate colors from the color scheme.

We would probably want to make it optional though.