Bug 470399 - Event Calendar's calendar tooltip opens under cursor and moves away from cursor, closing itself
Summary: Event Calendar's calendar tooltip opens under cursor and moves away from curs...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.27.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-29 07:26 UTC by Christopher Snowhill
Modified: 2023-05-31 20:25 UTC (History)
3 users (show)

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 Christopher Snowhill 2023-05-29 07:26:16 UTC
SUMMARY
A plasmoid, [Event Calendar](https://store.kde.org/p/998901/), opens tooltips to show holidays on the visible calendar. These tooltips can be made to spawn and animate through the cursor, repeatedly opening and closing themselves.

STEPS TO REPRODUCE
1. Install the Plasmoid.
2. Add it to the Panel.
3. Add a calendar with holidays in the current month. (US calendar with Memorial Day, for instance.)
4. Open the Plasmoid by clicking it.
5. Move the cursor up and to the left, over a cell with a holiday or event.
6. Hover over the cell.

OBSERVED RESULT
Tooltip spawns from the bottom right of the Plasmoid, causing it to animate directly under the cursor and away from it again, which causes the tooltip to self-terminate. The cursor focus being interrupted from the cell by the tooltip passing under it also causes the hover action to activate another tooltip, repeatedly, until the cursor is moved off the calendar cell.

EXPECTED RESULT
Tooltip should not check for cursor focus until it has come to rest after animating itself open.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, KDE Plasma 5.27.5
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Mentioned plasmoid may or may not be to blame for the issue, but animating open a window which hides itself when a cursor moves over or off it, should not test for cursor hover until its animation cycle completes.
Comment 1 Nate Graham 2023-05-31 20:25:42 UTC
This is a bug in the tooltip implementation of that particular widget, yeah. Spawning in the corner is weird and it shouldn't do that.

We  don't wait for the animation cycle to complete to avoid making the fade-out take longer, which has annoyed people in the past.