Bug 514188

Summary: PlasmaCore.ToolTipArea doesn't use the tooltip color
Product: [Frameworks and Libraries] libplasma Reporter: Andres Betts <anditosan1000>
Component: tooltipsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: kde, nate, niccolo.venerandi, notmart
Priority: NOR    
Version First Reported In: 6.5.4   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andres Betts 2026-01-05 14:19:40 UTC
SUMMARY
Today, tooltips on the panel are controlled by ToolTipArea. This draws a difference in style with classic tooltips if the plasma style makes changes.
For example, I would like to make all tooltips in the system dark, but only some of them get the change. The larger tooltips used in the panel follow the background look that the rest of the plasma style has. This makes tooltips look different.

This produces 2 problems:

1. 2 kinds of tooltips in the system will have different colors leading to visual inconsistency
2. Design is unable to have full control over all tooltips leading to theme inconsistency

EXPECTED RESULT
- All tooltips in the system should, at least, look the same even if the underlying components are different

ADDITIONAL INFORMATION
I consulted with @cwo on the technical info.
Comment 1 Nate Graham 2026-01-06 18:25:16 UTC
I suspect the historical reason for this is because PlasmaCore.ToolTipArea was used for large interactive tooltips that are kind of barely tooltips. Traditional small informational tooltips respect the tooltip color and styling.

Maybe the problem here is treating the things we use PlasmaCore.ToolTipArea for as tooltips, rather than as general interactive popups.

Until that changes, using the tooltip color seems reasonable though.
Comment 2 Andres Betts 2026-01-06 18:33:55 UTC
Thanks for the comment. cwo asked me to test by changing a line in one of the component to use them as tooltips and see what is broken or what happens. I haven't done that test but if someone has the time, that would be awesome. Is there anything I should try for now?
Comment 3 Nate Graham 2026-01-06 18:35:44 UTC
I don't think so.