Bug 446434

Summary: Adding an event to a calendar does not add anything
Product: [Applications] Merkuro Reporter: postix <postix>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: RESOLVED NOT A BUG    
Severity: normal CC: carl, postix
Priority: NOR    
Version First Reported In: 0.3.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screen recording

Description postix 2021-12-03 17:12:07 UTC
Created attachment 144177 [details]
Screen recording

SUMMARY

Please see the screen recording.


STEPS TO REPRODUCE
1. Right click on the calendar view --> New event
2. Type title "test"
3. Press on "+"

OBSERVED RESULT
Another window opens, where the existing calendars can be chosen (again). 

STEPS TO REPRODUCE
4. Choosing the calendar and click on "ok"

OBSERVED RESULT
Nothing has been added. No warning, no explicit error.

Terminal output while doing these steps
```
qrc:/DatePicker.qml:27: TypeError: Cannot read property 'startDate' of null
qrc:/IncidenceEditor.qml:645:29: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/IncidenceEditor.qml:645:29: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/IncidenceEditor.qml:645:29: QML SpinBox: Binding loop detected for property "implicitHeight"
qrc:/DatePicker.qml:27: TypeError: Cannot read property 'startDate' of null
qrc:/IncidenceEditor.qml:383:17: QML ComboBox: Binding loop detected for property "currentIndex"
qrc:/IncidenceEditor.qml:383:17: QML ComboBox: Binding loop detected for property "currentIndex"
qrc:/IncidenceEditor.qml:454:25: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/IncidenceEditor.qml:454:25: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/IncidenceEditor.qml:454:25: QML SpinBox: Binding loop detected for property "implicitHeight"
qrc:/TimePicker.qml:52:13: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/TimePicker.qml:52:13: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/TimePicker.qml:52:13: QML SpinBox: Binding loop detected for property "implicitHeight"
qrc:/DatePicker.qml:27: TypeError: Cannot read property 'startDate' of null
qrc:/TimePicker.qml:52:13: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/TimePicker.qml:52:13: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/TimePicker.qml:52:13: QML SpinBox: Binding loop detected for property "implicitHeight"
qrc:/DatePicker.qml:27: TypeError: Cannot read property 'startDate' of null
qrc:/IncidenceEditor.qml:645:29: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/IncidenceEditor.qml:454:25: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/TimePicker.qml:52:13: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/TimePicker.qml:52:13: QML SpinBox: Binding loop detected for property "implicitWidth"
qrc:/TimePicker.qml:257:13: QML Rectangle: Binding loop detected for property "height"
qrc:/TimePicker.qml:257:13: QML Rectangle: Binding loop detected for property "height"
file:///path/Development/kde/local/lib64/qml/org/kde/kirigami.2/FormLayout.qml:90:5: QML GridLayout: Binding loop detected for property "knownItemsImplicitWidth"
file:///path/Development/kde/local/lib64/qml/org/kde/kirigami.2/FormLayout.qml:90:5: QML GridLayout: Binding loop detected for property "knownItemsImplicitWidth"
file:///path/Development/kde/local/lib64/qml/org/kde/kirigami.2/FormLayout.qml:90:5: QML GridLayout: Binding loop detected for property "knownItemsImplicitWidth"
```

SOFTWARE/OS VERSIONS
Source: git (kdesrc-build)
Operating System: openSUSE Tumbleweed 20211201
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.5-1-default (64-bit)
Graphics Platform: X11
Comment 1 Claudio Cambra 2021-12-04 02:36:56 UTC
I can reproduce this on a kdesrc-build of Kalendar, though only on a kdesrc-build. A normal build using local libraries works fine.
Comment 2 Claudio Cambra 2022-01-05 01:08:33 UTC
This is caused by having a local Akonadi instance running, when the kdesrc-build Kalendar has been built against the most up-to-date Akonadi version acquired through kdesrc-build.

You can stop your system's Akonadi instance with akonadictl stop. Running kalendar with kdesrc-build will now work as intended.