I put debugging into EventListModel.qml to show when onModelChanged is triggered:
onModelChanged: { console.log("We got some sort of change!");
isLoading = false if(listeneres == undefined) {
return
}
for (var i=0; i < listeners.length; ++i){ (listeners[i])();
}
}
After adding a recurring event, I don't see the debug output. When I swipe to a different day in the future, I do see the output, and swiping back shows the day.
After adding a non-recurring event, I see the debug output immediately.
It looks to me like this is an issue with the underlying qtorganizer5-eds plugin/component, because model.saveItem() gets called in both cases, but the component responds differently in a way that it arguably shouldn't.
I tried to put some debugging in the C++ code for the component (I pulled it from qtorganizer5-eds, which I think is the right repo, but I'm not sure). But I'm having trouble building the repository on my 14.10 desktop. I get errors when running cmake (will paste in a subsequent comment since this one got pretty wordy). To be honest, I have to idea how to build rebuild a C++ plugin and run an app against the updated version.
Can anyone help me answer either of these two questions?
1) is qtorganizer5-eds the place to look for the C++ code that runs the event model in calendar-app?
2) Is there a special process for recompiling the plugin and testing apps against it?
I put debugging into EventListModel.qml to show when onModelChanged is triggered:
onModelChanged: {
console. log("We got some sort of change!");
if(listeneres == undefined) {
(listeners [i])();
isLoading = false
return
}
for (var i=0; i < listeners.length; ++i){
}
}
After adding a recurring event, I don't see the debug output. When I swipe to a different day in the future, I do see the output, and swiping back shows the day.
After adding a non-recurring event, I see the debug output immediately.
It looks to me like this is an issue with the underlying qtorganizer5-eds plugin/component, because model.saveItem() gets called in both cases, but the component responds differently in a way that it arguably shouldn't.
I tried to put some debugging in the C++ code for the component (I pulled it from qtorganizer5-eds, which I think is the right repo, but I'm not sure). But I'm having trouble building the repository on my 14.10 desktop. I get errors when running cmake (will paste in a subsequent comment since this one got pretty wordy). To be honest, I have to idea how to build rebuild a C++ plugin and run an app against the updated version.
Can anyone help me answer either of these two questions?
1) is qtorganizer5-eds the place to look for the C++ code that runs the event model in calendar-app?
2) Is there a special process for recompiling the plugin and testing apps against it?