Bug 487631

Summary: Calendar pressing Next skips 3 months
Product: [Plasma] plasmashell Reporter: Mike Lothian <mike>
Component: Digital ClockAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: agurenko, akselmo, blairaweaver, eugene.savitsky, farchord, first, get.sonic, lencho, me, nate, p, phoenix_87_c, public.paul.meier+kde, s.suther, srahman53171618, thibault.tordeurs, urturino, xabier94
Priority: VHI Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.1.0
Sentry Crash Report:

Description Mike Lothian 2024-05-27 16:07:19 UTC
When I press the next button instead of moving to the next month, it skips three, you can manually select one of the skipped months, but pressing Next or previous still skips 3 months from the new date

Qt 6.7.1
Frameworks from Git main
Plasma from Git main
Comment 1 Akseli Lahtinen 2024-05-28 09:20:04 UTC
Can confirm this happens. I have KDE PIM addons enabled so it shows my calendar information there, so it freezes to load those (i think) and skips from may to august.

Do you also have "Calendar Events" enabled in your digital clock settings?

System info:
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Kernel Version: 6.8.10-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 2 Mike Lothian 2024-05-28 09:27:34 UTC
I don't have it enabled, no
Comment 3 Akseli Lahtinen 2024-05-28 09:50:00 UTC
Ok, good to know, thanks. So it seems the issue is in the calendar itself. Will look into it.
Comment 4 Bug Janitor Service 2024-05-28 12:51:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4363
Comment 5 Akseli Lahtinen 2024-05-28 13:12:17 UTC
Git commit 6cb44947016a8d273c30451171d96038fbfd0281 by Akseli Lahtinen.
Committed on 28/05/2024 at 13:12.
Pushed by akselmo into branch 'master'.

components/calendar: set currentIndex before positionViewAtIndex

components/calendar: set currentIndex before positionViewAtIndex

We have to set currentIndex before positioning, otherwise the
positioning gets very confused and starts hopping over
elements like next month etc.

This fixes bug linked below, where clicking on arrow to change
to next month would hop over 3 months instead of 1.

M  +1    -1    components/calendar/qml/InfiniteList.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/6cb44947016a8d273c30451171d96038fbfd0281
Comment 6 Akseli Lahtinen 2024-05-28 13:47:16 UTC
Git commit 219ab7720d740d7fd3ccb336bcaa20bf8c68ad4c by Akseli Lahtinen.
Committed on 28/05/2024 at 13:47.
Pushed by akselmo into branch 'Plasma/6.1'.

components/calendar: set currentIndex before positionViewAtIndex

components/calendar: set currentIndex before positionViewAtIndex

components/calendar: set currentIndex before positionViewAtIndex

We have to set currentIndex before positioning, otherwise the
positioning gets very confused and starts hopping over
elements like next month etc.

This fixes bug linked below, where clicking on arrow to change
to next month would hop over 3 months instead of 1.

M  +1    -1    components/calendar/qml/InfiniteList.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/219ab7720d740d7fd3ccb336bcaa20bf8c68ad4c
Comment 7 Nate Graham 2024-06-13 18:43:43 UTC
*** Bug 488456 has been marked as a duplicate of this bug. ***
Comment 8 duha.bugs 2024-06-14 14:52:56 UTC
*** Bug 488501 has been marked as a duplicate of this bug. ***
Comment 9 cwo 2024-06-15 15:03:35 UTC
*** Bug 488529 has been marked as a duplicate of this bug. ***
Comment 10 fanzhuyifan 2024-06-16 03:12:03 UTC
*** Bug 488554 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2024-06-17 15:07:50 UTC
*** Bug 488621 has been marked as a duplicate of this bug. ***
Comment 12 Antonio Rojas 2024-06-17 19:24:46 UTC
*** Bug 488633 has been marked as a duplicate of this bug. ***
Comment 13 duha.bugs 2024-06-18 16:06:31 UTC
*** Bug 488674 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2024-07-01 18:02:52 UTC
*** Bug 489421 has been marked as a duplicate of this bug. ***
Comment 15 cwo 2024-07-09 16:35:29 UTC
*** Bug 489954 has been marked as a duplicate of this bug. ***
Comment 16 cwo 2024-07-25 10:11:16 UTC
*** Bug 490808 has been marked as a duplicate of this bug. ***
Comment 17 cwo 2024-07-30 16:27:44 UTC
*** Bug 491031 has been marked as a duplicate of this bug. ***
Comment 18 Thib 2024-08-10 09:52:29 UTC Comment hidden (spam)
Comment 19 Thib 2024-08-10 09:58:19 UTC Comment hidden (spam)
Comment 20 Shariar Rahman 2024-08-25 22:08:43 UTC
Bug still present on 
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.46-1-MANJARO (64-bit)
Graphics Platform: Wayland
Comment 21 filip.kendes1 2024-09-09 09:30:37 UTC
*** Bug 492863 has been marked as a duplicate of this bug. ***