← Back to team overview

dx-packages team mailing list archive

[Bug 1426519] [NEW] i-dt should support ical's "url" property for launching related apps

 

Public bug reported:

indicator-datetime needs a way to dispatch an arbitrary URL when a user
clicks on an ical event menuitem.

In practice, datetime currently has clock-app hardwired for dispatching
alarms (dispatch_url('appid://com.ubuntu.clock/clock/current-user-
version')) and calendar-app for everything else
(dispatch_url('appid://com.ubuntu.calendar/calendar/current-user-
version')).

There are two use cases that can be supported by datetime handling the
URL property <http://www.kanzaki.com/docs/ical/url.html>:

(1) Clicking on an alarm menuitem opens up clock-app to that specific
alarm, rather than to clock-app's main page. Clock-app could specify the
information it needs in the URL, then open the right page when passed
that information later. indicator-datetime would act as a simple pass-
through.

(2) non-calendar, non-alarm items such as from the reminders app as
requested by mzanetti. The pattern would be the same as clock-app:
Reminders would add whatever URL it wants, then datetime would act as a
simple pass-through. This is preferable to adding more special cases to
indicator-datetime.

** Affects: ubuntu-clock-app
     Importance: Undecided
         Status: New

** Affects: indicator-datetime (Ubuntu)
     Importance: Undecided
     Assignee: Charles Kerr (charlesk)
         Status: New

** Affects: reminders-app (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntu-calendar-app (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: ubuntu-clock-app
   Importance: Undecided
       Status: New

** Also affects: ubuntu-calendar-app (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: reminders-app (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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/1426519

Title:
  i-dt should support ical's "url" property for launching related apps

Status in Clock application for Ubuntu devices:
  New
Status in indicator-datetime package in Ubuntu:
  New
Status in reminders-app package in Ubuntu:
  New
Status in ubuntu-calendar-app package in Ubuntu:
  New

Bug description:
  indicator-datetime needs a way to dispatch an arbitrary URL when a
  user clicks on an ical event menuitem.

  In practice, datetime currently has clock-app hardwired for
  dispatching alarms (dispatch_url('appid://com.ubuntu.clock/clock
  /current-user-version')) and calendar-app for everything else
  (dispatch_url('appid://com.ubuntu.calendar/calendar/current-user-
  version')).

  There are two use cases that can be supported by datetime handling the
  URL property <http://www.kanzaki.com/docs/ical/url.html>:

  (1) Clicking on an alarm menuitem opens up clock-app to that specific
  alarm, rather than to clock-app's main page. Clock-app could specify
  the information it needs in the URL, then open the right page when
  passed that information later. indicator-datetime would act as a
  simple pass-through.

  (2) non-calendar, non-alarm items such as from the reminders app as
  requested by mzanetti. The pattern would be the same as clock-app:
  Reminders would add whatever URL it wants, then datetime would act as
  a simple pass-through. This is preferable to adding more special cases
  to indicator-datetime.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-clock-app/+bug/1426519/+subscriptions


Follow ups

References