After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675608 - Too high contrasts in inverted mode/using system color scheme for content background/foreground
Too high contrasts in inverted mode/using system color scheme for content bac...
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
3.4.x
Other All
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 655616 748979 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-05-07 12:47 UTC by psychoslave
Modified: 2018-05-22 14:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to reduce contrast in inverted color mode (7.51 KB, patch)
2018-02-12 03:20 UTC, Solano Felício
none Details | Review

Description psychoslave 2012-05-07 12:47:15 UTC
I want to use a dark theme on my whole desktop. I use the adwaita dark as my primary theme to do so.

Luckily, evince give the inverted color mode, which enable to have a white on black visualisation for documents. Unfortunately this is really white (#ffffff) on black (#000000), which means a far too high contrast to be comfortable.

For example adwaita dark use #2E3436 as background and #EEEEEC as foreground.

Ideally, content should be displayed following the system color scheme, or at least giving an option to do so (in preferences or in the view menu).
Comment 1 Liv 2013-10-12 08:15:46 UTC
I would second this. The View > Inverted Colors is close to useless when it comes to attempting to reduce eye-strain while reading PDF documents on-screen. Simply inverting colors you will often get a very nasty contrast: very white on very black, making the PDF unreadable. 

Much nicer would be to _additionally_ allow the user to set a custom color for the page background and foreground text. You could choose a color scheme much nicer on the eyes, such as light grey on dark grey. Such a scheme, similar to that used by Darklooks on Linux, would help reducing eyestrain when reading PDF documents. As a bonus, you could take the theme colours (say, Darklooks) as hint for the background and text colours in the PDF. 

For example, acroread allows you to use a custom color scheme for the document background and text. In v9.5, this option can be found in Prefs > Accessibility. And unfortunately for me, this makes acroread superior to Evince and I'm now switching to acroread.
Comment 2 Germán Poo-Caamaño 2013-10-26 21:56:17 UTC
*** Bug 655616 has been marked as a duplicate of this bug. ***
Comment 3 Germán Poo-Caamaño 2016-09-30 15:29:24 UTC
*** Bug 748979 has been marked as a duplicate of this bug. ***
Comment 4 Solano Felício 2018-02-12 03:20:39 UTC
Created attachment 368241 [details] [review]
Patch to reduce contrast in inverted color mode

Patch also removes a bit of unused code.
Comment 5 Solano Felício 2018-02-12 03:22:16 UTC
Sorry for the double comment, I'm new to bugzilla.

I wrote a simple patch that raises blacks up to 10% brightness and lowers whites down to 90%. This looks comfortable enough to me.

It may be better to have the user control those levels at runtime instead of hardcoding constants, via Preferences menu. But it's a start.
Comment 6 raphael 2018-03-29 09:59:05 UTC
I agree with the previous comments, the invert mode is currently not eye-friendly.

Simply changing the default colors would be great (such as #2E3436 as background and #EEEEEC as foreground, as suggested by psychoslave@culture-libre.org above)
Comment 7 GNOME Infrastructure Team 2018-05-22 14:36:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/279.