Bug 322547 - Using a Dark Colorscheme frequently leads to unreadable text.
Summary: Using a Dark Colorscheme frequently leads to unreadable text.
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: EPub backend (show other bugs)
Version: 0.16.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-18 20:20 UTC by Wyatt Gosling
Modified: 2014-03-12 22:07 UTC (History)
2 users (show)

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


Attachments
Screenshot of unreadable text in action (244.33 KB, image/png)
2013-07-18 20:21 UTC, Wyatt Gosling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wyatt Gosling 2013-07-18 20:20:33 UTC
If you view an .epub document with a dark colorscheme active (eg Obsidian Coast), you frequently end up with text that is very hard (eg light grey text on a white background). My guess is that it pulls fallback colors from the user's colorscheme.

While it is likely the epubs fault for not specifying the color of every asset, most epubs do this, so it is probably something Okular should handle. Okular should use fallback colors that will work with the assumptions of most epub makers (dark text on a light background) even if that clashes with the user's desktop theme.

Reproducible: Always

Steps to Reproduce:
1. Switch the color scheme to Obsidian coast
2. Open an epub in Okular
Actual Results:  
light text on a light background (usually)

Expected Results:  
Dark text on a light background
Comment 1 Wyatt Gosling 2013-07-18 20:21:20 UTC
Created attachment 81188 [details]
Screenshot of unreadable text in action
Comment 2 Albert Astals Cid 2013-07-18 23:29:04 UTC
Can you attach such a file?
Comment 3 Wyatt Gosling 2013-07-23 00:10:22 UTC
Here is a link (to be safe on copyright issues).

http://library.mises.org/books/Murray%20N%20Rothbard/Man,%20Economy,%20and%20State,%20with%20Power%20and%20Market.epub
Comment 4 Christoph Feck 2013-08-10 17:24:01 UTC
Duplicate of bug 253583 or bug 306572.
Comment 5 Albert Astals Cid 2014-03-12 22:07:51 UTC
Git commit 60cc5dc98e502afd597555c48c8f350714c08349 by Albert Astals Cid, on behalf of Christoph Feck.
Committed on 12/03/2014 at 22:01.
Pushed by aacid into branch 'KDE/4.13'.

TextDocumentGenerator: Use black as default text color

REVIEW: 111681
Related: bug 253583
FIXED-IN: 4.12.90

M  +9    -1    core/textdocumentgenerator.cpp

http://commits.kde.org/okular/60cc5dc98e502afd597555c48c8f350714c08349