Bug 435215 - Tooltips are not affected by dark theme
Summary: Tooltips are not affected by dark theme
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: All editors (show other bugs)
Version: 5.6.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-01 10:54 UTC by matombo
Modified: 2021-04-09 15:05 UTC (History)
0 users

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


Attachments

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