Bug 422882 - forms are displayed in black when there is a dark theme.
Summary: forms are displayed in black when there is a dark theme.
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.10.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2020-06-12 16:37 UTC by terkald
Modified: 2020-06-19 15:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :-/.