Bug 443380

Summary: QML error in CalendarView.qml:538:13: Unable to assign [undefined] to double
Product: [Plasma] plasmashell Reporter: Fushan Wen <qydwhotmail>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.23
Sentry Crash Report:

Description Fushan Wen 2021-10-06 02:17:09 UTC
This error message can be triggered when opening the digital clock panel with agenda disabled.

file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/CalendarView.qml:538:13: Unable to assign [undefined] to double
Comment 1 Bug Janitor Service 2021-10-06 02:18:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1093
Comment 2 Nate Graham 2021-10-07 15:37:46 UTC
Git commit c59b7b6717ef4afc25c92d87cb70d075e8a1b943 by Nate Graham, on behalf of Fushan Wen.
Committed on 07/10/2021 at 15:37.
Pushed by ngraham into branch 'master'.

[digital-clock] Do not assign undefined when agenda is not visible

Removes the error: Unable to assign [undefined] to double

M  +1    -1    applets/digital-clock/package/contents/ui/CalendarView.qml

https://invent.kde.org/plasma/plasma-workspace/commit/c59b7b6717ef4afc25c92d87cb70d075e8a1b943
Comment 3 Nate Graham 2021-10-07 15:38:26 UTC
Git commit e122bafcd27824c1d87dcb6f56168dc469510753 by Nate Graham, on behalf of Fushan Wen.
Committed on 07/10/2021 at 15:38.
Pushed by ngraham into branch 'Plasma/5.23'.

[digital-clock] Do not assign undefined when agenda is not visible

Removes the error: Unable to assign [undefined] to double


(cherry picked from commit c59b7b6717ef4afc25c92d87cb70d075e8a1b943)

M  +1    -1    applets/digital-clock/package/contents/ui/CalendarView.qml

https://invent.kde.org/plasma/plasma-workspace/commit/e122bafcd27824c1d87dcb6f56168dc469510753