Daily Recurring Events need refresh to appear when created from DayView
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
Ubuntu Calendar App |
Fix Released
|
High
|
Renato Araujo Oliveira Filho | ||
qtpim-opensource-src (Ubuntu) |
Fix Released
|
High
|
Renato Araujo Oliveira Filho | ||
qtpim-opensource-src (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I create a daily recurring event from the DayView that starts on that day, the EventBubble does not immediately appear on the current Day. I can swipe to go to future days, and the EventBubble appears there. If I swipe back to return to the original Day, or I go to a different view (MonthView, WeekView, etc.) the event appears.
Since the EventBubble appears after re-navigating to the page in any way, this appears to be a "refreshing" problem, where the DayView isn't updated after creating a recurring event.
Steps to Reproduce
-------
1) Open the Calendar App, and go to any day on the DayView.
2) Create a recurring event starting on that day, which re-occurs daily.
3) Save the new event and return to the DayView. The EventBubble should not appear on the DayView for the current Day.
Expected: The EventBubble should appear on the DayView page immediately after returning from creating the event.
A reproduction of this behavior can be seen at: https:/
Changed in ubuntu-calendar-app: | |
status: | New → Confirmed |
Changed in ubuntu-calendar-app: | |
assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
importance: | Medium → High |
Changed in qtorganizer5-eds (Ubuntu): | |
importance: | Undecided → High |
tags: | added: recurrence |
Changed in ubuntu-calendar-app: | |
milestone: | none → 0.5 |
Changed in qtpim-opensource-src (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
importance: | Undecided → High |
no longer affects: | qtorganizer5-eds (Ubuntu) |
Changed in ubuntu-calendar-app: | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
status: | Fix Committed → In Progress |
importance: | Undecided → High |
assignee: | nobody → Bill Filler (bfiller) |
milestone: | none → ww08-2016 |
Changed in ubuntu-calendar-app: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
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?