Bug 505167 - Selecting day in specific ways makes the animation different
Summary: Selecting day in specific ways makes the animation different
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 6.4.80
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-03 13:11 UTC by Tamás Králl
Modified: 2025-06-05 18:42 UTC (History)
1 user (show)

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


Attachments
Selecting days using a touchpad (189.62 KB, video/webm)
2025-06-03 13:11 UTC, Tamás Králl
Details
Selecting days by holding left-click a bit (210.11 KB, video/webm)
2025-06-03 13:13 UTC, Tamás Králl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Králl 2025-06-03 13:11:36 UTC
Created attachment 181998 [details]
Selecting days using a touchpad

SUMMARY
When selecting days in the Digital Clock widget's calendar view, doing so with a touchpad makes one part of the animation lag behind the other. 

Furthermore, holding left-click on a day and releasing it a bit later also makes the animation have to distinct parts.

See the attachments for detail.

STEPS TO REPRODUCE
1. Tap on a (currently not selected) day in the calendar view using a touch pad.
2. Repeat a few times.

1. Hold left-click on a (currently not selected) day and release the button a bit later.
2. Repeat a few times.

OBSERVED RESULT
The 'selecting' animation has two parts: the bright outer outline and the inner coloured highlight. These two parts don't move at the same time when changing the selection. Instead, the inner highlight lags behind.

EXPECTED RESULT
The selection animations happen at the same time.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
Kernel Version: 6.11.0-26-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4210U CPU @ 1.70GHz
Memory: 8 GiB of RAM (7.7 GiB usable)
Graphics Processor: Intel® HD Graphics 4400
Manufacturer: Hewlett-Packard
Product Name: HP EliteBook 840 G1
System Version: A3009DD10303
Comment 1 Tamás Králl 2025-06-03 13:13:16 UTC
Created attachment 181999 [details]
Selecting days by holding left-click a bit
Comment 2 Nate Graham 2025-06-04 16:42:44 UTC
No sure I see what the problem is here. It's selecting a new day on press, and deselecting the old day on release. This is the intended implementation.
Comment 3 Tamás Králl 2025-06-04 17:34:51 UTC
I see. Still, I think especially in the case of the touchpad it's not the best behavior. With a tap, I should immediately select the new day and immediately deselect old day. The deselect animation shouldn't lag behind half a second. Perhaps you could ask the VDG for some opinions on this.
Comment 4 Nate Graham 2025-06-04 18:14:42 UTC
FWIW, there is no difference between behavior when using a touchpad vs a mouse; to the system, a click is a click is a click.
Comment 5 Tamás Králl 2025-06-04 19:26:27 UTC
On my system *clicking* with a mouse on a new day results in near instant selection & deselection of the previously selected day. But using the touchpad, *tapping* on a new day results in the deselect animation happening about half a second later, while the select animation is instant (like in the attached video).

Maybe my touchpad artificially creates a short *hold* event when tapped, since it can't actually be held down?
Comment 6 Nate Graham 2025-06-05 18:42:51 UTC
If you're talking about tap-to-click, there's always a little delay but that's done by the Libinput input library. You'll see it everywhere.