Bug 483551

Summary: Rapidly clicking prev/next month button on calender skips fewer months than expected
Product: [Plasma] plasmashell Reporter: Du Yijie <nathandu>
Component: Digital ClockAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: normal CC: kde, nate, qydwhotmail
Priority: NOR Keywords: qt6, usability
Version: master   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Du Yijie 2024-03-14 14:00:18 UTC
Summary
-------
When the prev/next month button is clicked faster than the animation on the Digital Clock applet, the calendar will go forward/backward by fewer months than expected.

Steps to reproduce
------------------
1. Click the digital clock applet to show the calendar.
2. Click next month twice in quick succession.

For easier observation, set animation speed in `Workspace > General Behavior` to slowest.

Observed result
---------------
The animation immediately restarts from the month before clicking the button. After the animation ends, the calendar only goes forward by one month.

Expected result
---------------
The calendar should go forward by two months.


Software/OS versions
--------------------
Linux: openSUSE Tumbleweed, kernel 6.7.7-1-default
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 Du Yijie 2024-03-15 00:50:05 UTC
*** Bug 483572 has been marked as a duplicate of this bug. ***