Upcoming event ETA appears to fall out of sync

Bug #1557571 reported by Charles Kerr
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Michał Sawicz
Ubuntu Calendar App
Invalid
Undecided
Unassigned
indicator-datetime (Ubuntu)
Invalid
High
Renato Araujo Oliveira Filho
unity8 (Ubuntu)
Fix Released
High
Lukáš Tinkl

Bug Description

Described by ToyKeeper @ https://trello.com/c/S0yjk9mW/2892-893-ubuntu-landing-003-indicator-datetime-dbarth:

> Also, the indicator sometimes gets the wrong time until an event is scheduled to start. As an example, I had an event scheduled for 23:50. At 23:43 I pulled down the indicator and it said 7 minutes 'till. At 23:45 I tried again and it still said 7 minutes. I checked again at 23:47 and it said 3 minutes till. I checked again at 23:50 and it still said 3 minutes. At 23:51 the item disappeared, even though the event was an hour long. So, it updates infrequently and doesn't show events while they're active (except for the first minute).

Tags: indicator

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-datetime (Ubuntu):
status: New → Confirmed
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Thanks for adding this. It's not a huge deal, but it would be nice if it updated a little more often during the last hour or so before an event starts.

Bill Filler (bfiller)
Changed in indicator-datetime (Ubuntu):
importance: Undecided → High
Changed in canonical-devices-system-image:
milestone: none → 11
importance: Undecided → High
tags: added: indicator
Changed in canonical-devices-system-image:
status: New → Confirmed
assignee: nobody → Alejandro J. Cura (alecu)
Revision history for this message
Charles Kerr (charlesk) wrote :

The "7 minutes til" text is coming from unity8.

indicator-datetime passes the event's time to unity8 in the x-canonical-time property, and qml/Panel/Indicators/MenuItemFactory.qml's appointmentMenu code builds its time from calling i18n.relativeDateTime() on that x-canonical-time value.

Ideally, unity8 would have a timer kick at the top of the minute and update appointmentMenu's time property.

A hackier solution would be for indicator-datetime to rebuild the menu every minute. This should have the same effect for this ticket, but it would involve unnecessary bus traffic and IMO doesn't address the problem in the right place

Changed in unity8 (Ubuntu):
importance: Undecided → High
Changed in ubuntu-calendar-app:
status: New → Invalid
Changed in unity8 (Ubuntu):
status: New → Confirmed
status: Confirmed → Triaged
Charles Kerr (charlesk)
Changed in indicator-datetime (Ubuntu):
status: Confirmed → Incomplete
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
assignee: Alejandro J. Cura (alecu) → Bill Filler (bfiller)
Changed in indicator-datetime (Ubuntu):
assignee: Charles Kerr (charlesk) → Renato Araujo Oliveira Filho (renatofilho)
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
assignee: nobody → Lukáš Tinkl (lukas-kde)
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
assignee: Bill Filler (bfiller) → Michał Sawicz (saviq)
Revision history for this message
Michał Sawicz (saviq) wrote :
Changed in canonical-devices-system-image:
status: Confirmed → Triaged
Revision history for this message
Bill Filler (bfiller) wrote :

Filed related bug to track the event being removed prematurely from the indicator:
https://bugs.launchpad.net/ubuntu-ux/+bug/1570619

Changed in unity8 (Ubuntu):
status: Triaged → In Progress
Changed in canonical-devices-system-image:
status: Triaged → In Progress
Changed in unity8 (Ubuntu):
status: In Progress → Fix Committed
Michał Sawicz (saviq)
Changed in indicator-datetime (Ubuntu):
status: Incomplete → Invalid
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in unity8 (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.