Bug 422882

Summary: forms are displayed in black when there is a dark theme.
Product: [Applications] okular Reporter: terkald <adressepoub.rl>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: normal CC: adressepoub.rl, nate
Priority: NOR Keywords: usability
Version First Reported In: 1.10.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description terkald 2020-06-12 16:37:40 UTC
The forms do not display as they should : The background color is not the same as that of the documents, and seems to follow the theme.

Note: Okular is apparently not the only software in this case. This could be an upstream problem, to be followed...

STEPS TO REPRODUCE
1. Have a dark theme
2. Use a PDF with form.


OBSERVED RESULT

In white background document, the form is black


EXPECTED RESULT

The form should be white.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 
(available in About System)
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Comment 1 Nate Graham 2020-06-13 16:48:01 UTC
Can reproduce. Looks like the forms respect the active color scheme, which is not really correct here since the rest of the document does not. They should be either hardcoded to a light color scheme, or follow the document's own color scheme (which itself can be internally changed in Okular).
Comment 2 terkald 2020-06-19 15:03:48 UTC
It's an easily reproducible bug, but I can't tell if it's an okular bug, or an upstream bug (as in the way Plasma handles themes, I'm not sure...) : LibreOffice (under Plasma anyway) has the same bug, that I reported to them, but that I can't find anymore :-/.