Bug 477161

Summary: Cannot change month when using "Basic month grid"
Product: [Applications] Merkuro Reporter: Ridge <kde>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: RESOLVED FIXED    
Severity: normal CC: carl
Priority: NOR Keywords: qt6
Version First Reported In: 23.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Merkuro Calendar with the two month view settings

Description Ridge 2023-11-17 21:37:17 UTC
Created attachment 163252 [details]
Merkuro Calendar with the two month view settings

SUMMARY
When using "Basic month grid" in the "Month view settings", I cannot change months back or forth. Only when "Swipeable month grid" is selected can I change the currently visible month.


STEPS TO REPRODUCE
1. Set Merkuro Calendar to "Basic month grid" in the settings
2. Close the settings
3. Try to change months with the arrow buttons

OBSERVED RESULT
The month name in the top left changes, however the actual calendar does not.

EXPECTED RESULT
To see the desired month.

SOFTWARE/OS VERSIONS 
Linux: 6.6.1
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0

ADDITIONAL INFORMATION
Also observed in Plasma 5.27.9 and with Frameworks 5.112, as well as Merkuro 24.01.75
Not sure how to generate useful information for this bug.. Would highly appreciate any advice in this regard =)
Comment 1 Bug Janitor Service 2024-06-25 07:38:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/merkuro/-/merge_requests/441
Comment 2 Carl Schwan 2024-06-27 09:41:13 UTC
Git commit 1fe9171b4cec4f918104d149f9070b96742b573b by Carl Schwan, on behalf of snow flurry.
Committed on 27/06/2024 at 09:38.
Pushed by carlschwan into branch 'master'.

MonthView: Update Basic grid when changing months

Without `startDate` and `firstDayOfMonth` set, the Basic month grid only
shows the month it was created with.

M  +3    -0    src/calendar/qml/MainViews/MonthView.qml

https://invent.kde.org/pim/merkuro/-/commit/1fe9171b4cec4f918104d149f9070b96742b573b
Comment 3 Carl Schwan 2024-06-27 09:42:33 UTC
Git commit eeac99d9a58a669986fe5dbbeac31d2adf7f45a2 by Carl Schwan.
Committed on 27/06/2024 at 09:42.
Pushed by carlschwan into branch 'release/24.05'.

MonthView: Update Basic grid when changing months

Without `startDate` and `firstDayOfMonth` set, the Basic month grid only
shows the month it was created with.


(cherry picked from commit 1fe9171b4cec4f918104d149f9070b96742b573b)

Co-authored-by: snow flurry <snow@datagirl.xyz>

M  +3    -0    src/calendar/qml/MainViews/MonthView.qml

https://invent.kde.org/pim/merkuro/-/commit/eeac99d9a58a669986fe5dbbeac31d2adf7f45a2