Calendar crash when deleting entry with edited date [released]
If I change date or time on an entry and keep the entry open after accepting the edit, when I then choose "delete" from the pulley of the event the calendar app crash and the entry remains.
I can reproduce. Last message was
[W] unknown:128 - file:///usr/lib/qt5/qml/Sailfish/Calendar/CalendarEventView.qml:128: TypeError: Cannot read property 'startTime' of null Segmentation fault
But backtrace is not informative:
Damien Caliste ( 2018-08-23 18:05:05 +0200 )edit(gdb) bt #0 0xb67fc650 in QV4::ExecutionEngine::qmlSingletonWrapper(QV4::String*) () from /usr/lib/libQt5Qml.so.5 #1 0xb6863510 in QV4::Runtime::getQmlSingleton(QV4::NoThrowEngine*, int) () from /usr/lib/libQt5Qml.so.5
can confirm
tmy ( 2018-08-25 19:45:00 +0200 )editOk, found the root of the issue. The delete triggers a remorse. This remorse is attached to the list entry displaying the event in the calendar view. When the entry is edited, the model of the list of the calendar page is changed and the list item owning the remorse entry is destroyed. Thus when the remorse is called, everything collapse…
It's fun that it's more or less the same issue than a very old one from Office app: https://github.com/sailfishos/sailfish-office/issues/10
Damien Caliste ( 2018-08-27 12:12:04 +0200 )edit