The source project of this merge request has been removed.
Prevent tooltips from being incorrectly dismissed
Having a single shared ToolTipDelegate causes problems with Dialog positioning when the size changes significantly.
The sequence of widget events when the bug is triggered is:
- QEvent::Resize (Size is changed)
- QEvent::Move (Position is changed, but the vertical coordinate is not)
- QEvent::Leave (Therefore some tooltips are incorrectly dismissed)
Add m_extendTimeoutFlag to prevent interactive tooltips from being incorrectly dismissed.
See also: plasma-desktop!393 (merged) @bharadwaj-raju
This MR is needed as well after https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/341 is applied: plasma-desktop!579 (merged)
Edited by Fushan Wen