[okular] [Bug 182994] Allow user to change background colour

Luigi Toscano bugzilla_noreply at kde.org
Sun Oct 1 09:32:19 UTC 2017


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

Luigi Toscano <luigi.toscano at tiscali.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/oku |https://commits.kde.org/oku
                   |lar/6b5a7c9a1a00dec994cfb03 |lar/1f6e8a4782f6f750daf8937
                   |b0abf369539168758           |09e1a043096a837fe

--- Comment #8 from Luigi Toscano <luigi.toscano at tiscali.it> ---
Git commit 1f6e8a4782f6f750daf893709e1a043096a837fe by Luigi Toscano, on behalf
of Albert Freeman.
Committed on 01/10/2017 at 09:31.
Pushed by ltoscano into branch 'master'.

Custom background color

Summary:

Adds an option to the config dialog that enables background color (the color
around the displayed page) to be changed (while by default preserving the Qt
toolkit selection as not to affect existing users).

Reasons for this change:
Accessibility, eye strain, aesthetic reasons, color displayed on monitor can
affect power consumption (how: depends on display technology).
Many people want this change occording to Bugzilla and other sources.

Maintenance: Nearly no additional maintenance:
This is no new subsystem but a trivial feature with no complex code
dependencies, and we are already showing a colour selection dialog and setting
colours in other places in Okular.

{F4257766}

Other less important information:
https://git.reviewboard.kde.org/r/130219/
https://mail.kde.org/pipermail/okular-devel/2017-September/025520.html

Test Plan:
Tested everything, it all works:
Toggled the custom background color, changed custom background color, removed
okular settings file (with: "rm ~/.config/okular*") to verify it uses the usual
qt theme colour by default (where the settings file remembered the custom
color).

Reviewers: #okular, aacid, elvisangelaccio, rkflx, ngraham

Reviewed By: ngraham

Subscribers: aacid, ltoscano, ngraham

Tags: #okular

Differential Revision: https://phabricator.kde.org/D8051

M  +2    -2    CMakeLists.txt
M  +7    -0    conf/dlggeneral.cpp
M  +3    -0    conf/dlggeneral.h
M  +59   -2    conf/dlggeneralbase.ui
M  +5    -0    conf/okular.kcfg
M  +6    -1    ui/pageview.cpp

https://commits.kde.org/okular/1f6e8a4782f6f750daf893709e1a043096a837fe

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


More information about the Okular-devel mailing list