Bug 435215

Summary: Tooltips are not affected by dark theme
Product: [Applications] kdevelop Reporter: matombo
Component: All editorsAssignee: kdevelop-bugs-null
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.6.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description matombo 2021-04-01 10:54:09 UTC
SUMMARY
Using both a dark color theme and a dark text color theme, the tooltips appearing when hovering underlined text still use the default light color theme.

STEPS TO REPRODUCE
1. Use breeze dark as color theme
2. Use breeze dark as text color theme
3. Have some code that gets underlined by code inspection
4. Hover that code

OBSERVED RESULT
See a white tooltip

EXPECTED RESULT
Tooltip has dark background

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04 and Manjaro
KDE Plasma Version: 5.18.5 and 5.21.3
KDE Frameworks Version: 5.68.0 and 5.80.0
Qt Version: 5.12.8 and 5.15.2
KDevelop Version: 5.5.0 and 5.6.2
Comment 1 Milian Wolff 2021-04-01 15:50:49 UTC
this is known and intended, because the contents may get read from arbitrary HTML content which is usually written to expect a bright background. that's sadly life...
Comment 2 matombo 2021-04-08 17:56:01 UTC
Is it not possible to have context specific css for when it's rendered in the tooltip?
Comment 3 Milian Wolff 2021-04-09 15:05:37 UTC
Maybe, but that would be a lot of work to keep up2date. Esp. note that the content we are showing there is not provided by us after all - rather it's provided by whomever generates the documentation (e.g. Qt, C++, ...).