← Back to team overview

dx-packages team mailing list archive

[Bug 1557571] Re: Upcoming event ETA appears to fall out of sync

 

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

** Also affects: unity8 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: unity8 (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntu-calendar-app
       Status: New => Invalid

** Changed in: unity8 (Ubuntu)
       Status: New => Confirmed

** Changed in: unity8 (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: indicator-datetime (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1557571

Title:
  Upcoming event ETA appears to fall out of sync

Status in Canonical System Image:
  Confirmed
Status in Ubuntu Calendar App:
  Invalid
Status in indicator-datetime package in Ubuntu:
  Incomplete
Status in unity8 package in Ubuntu:
  Triaged

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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1557571/+subscriptions


References