Bug 428840 - Respect systemwide color scheme in viewer pane (perhaps by automatically invokine the appropriate "change colors" mode)
Summary: Respect systemwide color scheme in viewer pane (perhaps by automatically invo...
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-08 13:37 UTC by a
Modified: 2020-12-23 15:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.