We have moved to a new Sailfish OS Forum. Please start new discussions there.

Calendar crash when deleting entry with edited date [released]

asked 2018-08-23 17:33:29 +0300

Mohjive gravatar image

updated 2018-08-24 17:42:12 +0300

Spam Hunter gravatar image

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.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by Mohjive
close date 2019-03-18 14:27:28.912602


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: (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

Damien Caliste ( 2018-08-23 18:05:05 +0300 )edit

can confirm

tmy ( 2018-08-25 19:45:00 +0300 )edit

Ok, 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 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-03-18 14:27:12 +0300

Mohjive gravatar image

Released in 3.0.2 Oulanka

edit flag offensive delete publish link more

Question tools



Asked: 2018-08-23 17:33:29 +0300

Seen: 300 times

Last updated: Mar 18 '19