Then it can just follow the style's delay and timeout.
Details
Details
- Reviewers
mart davidedmundson - Group Reviewers
Plasma
- Hovered grid delegate which had a tooltip, showed after a short delay, stated for like 10 seconds
- Hovered grid delegate without one, didn't get any tooltip
Diff Detail
Diff Detail
- Repository
- R296 KDeclarative
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
This works for you? I still see that the tooltip for KCM grid delegates disappears almost immediately with this patch.
Comment Actions
The attached version is a light QObject that calls a single tooltip.
The non-attached version contains /the entire tooltip instance/
Which on every delegate is too much of a problem.
You're right that we have to duplicate the delay logic to follow the theme, but at least in KDeclarative we're only doing that in one place and hiding it from the user code. If that needs to use C++ code, (or maybe kirigami theme should export this?) that might work
Comment Actions
Kirigami has a toolTipDelay in Units. The other bit is hardcoded to some heuristic:
https://cgit.kde.org/qqc2-desktop-style.git/tree/org.kde.desktop/ToolTip.qml#n48