Bug 419376 - FEATURE REQUEST: Night mode
Summary: FEATURE REQUEST: Night mode
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-29 12:28 UTC by jan.claussen10
Modified: 2020-04-16 06:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
(Not really) Possible color modes: Invert only gray pixels (379.42 KB, image/png)
2020-04-01 13:30 UTC, Laura David Hurka
Details
attachment-2200-0.html (324 bytes, text/html)
2020-04-01 13:46 UTC, jan.claussen10
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jan.claussen10 2020-03-29 12:28:22 UTC
I would love if Okular had a night mode like Evince. I would suggest two modes:

1. Invert only black and white
2. Invert all colors, if option 1 makes things unreadable
Comment 1 Albert Astals Cid 2020-03-29 13:46:49 UTC
I'm pretty sure we already have invert colors.

What does "Invert only black and white" even mean?
Comment 2 Oliver Sander 2020-03-29 13:53:19 UTC
> I'm pretty sure we already have invert colors.

In preferences --> accessability

But see also https://invent.kde.org/kde/okular/-/merge_requests/141
Comment 3 jan.claussen10 2020-04-01 10:03:07 UTC
Well invert only black and white means exactly what it says. If you invert all colors, the pictures look like airport scanner images. When you only invert black and white the other colors stay the same. 

It would still be really convenient if there would be a button for night mode, that you could add to the toolbar. I mean night mode is coming to many apps now, because the light exposure makes people sleep badly. It should be easily accessible I think. I am hoping an overall automatic night mode will come to KDE soon. GNOME already implemented it, but I don’t like that DE.
Comment 4 Laura David Hurka 2020-04-01 13:30:57 UTC
Created attachment 127159 [details]
(Not really) Possible color modes: Invert only gray pixels

What you want is that the renderer takes the page background and inverts its color, and takes the text and inverts its color. This needs additional intelligence.

The current color modes are dumb, and only invert the pixel colors. We can’t simply take black pixels and make them white, and take white pixels and make them black. It would look a bit better to invert all pure-gray pixels, but images would still look a bit broken. I have attached a screenshot of these two options.

By the way we merged https://invent.kde.org/kde/okular/-/merge_requests/144. You could try whether Invert Lightness or Invert Luma satisfies you.

> If you invert all colors, the pictures look like airport scanner images.
Thanks, that’s an excellent description. :)
Comment 5 jan.claussen10 2020-04-01 13:46:22 UTC
Created attachment 127160 [details]
attachment-2200-0.html

Yes, the lnvert lightness and luma options are what I had in mind. I wdid not find them before. Will have a look at them later
Comment 6 Bug Janitor Service 2020-04-16 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!