Public bug reported:

release: Ubuntu 16.04.1 LTS
package version: 3.20.4-0ubuntu0.1

Expected behavior: gnome-calendar displays text/calendar file contents
OR doesn't report support for such files so that some other application
will be used.

Observed behavior: gnome-calendar registers itself as supporting
text/calendar files, but doesn't actually open them, at least not on
launch by an external program, such as any mailcap program or Nautilus.
>From Nautilus, gnome-calendar never opens. From mailcap applications,
gnome-calendar opens but just shows a calendar.

Additional details:

Found when using a mail client that uses mailcap to find programs to
open attachments. The /etc/mailcap file claims that, to open files of
type text/calendar (e.g. *.ics files), one should run 'gnome-calendar
%s' replacing %s with the filename:

  text/calendar; gnome-calendar %s; test=test -n "$DISPLAY"

I found via tracing that this line comes from when the update-mime
program parses /usr/share/applications/org.gnome.Calendar.desktop from
the gnome-calendar package, which includes the line

  MimeType=text/calendar;

The actual behavior of running gnome-calendar in this way is that it
ignores the file argument and just shows a calendar and does not view
the file specified.

Relatedly, this desktop file also seems to result in Nautilus thinking
that gnome-calendar should open a .ics file, but when opening a file via
nautilus, I get an indicator showing that gnome-calendar is launching,
but no window opens and the indicator eventually times out.

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-calendar in Ubuntu.
https://bugs.launchpad.net/bugs/1653873

Title:
  gnome-calendar desktop file claims text/calendar mime support, but
  doesn't actually open such files

Status in gnome-calendar package in Ubuntu:
  New

Bug description:
  release: Ubuntu 16.04.1 LTS
  package version: 3.20.4-0ubuntu0.1

  Expected behavior: gnome-calendar displays text/calendar file contents
  OR doesn't report support for such files so that some other
  application will be used.

  Observed behavior: gnome-calendar registers itself as supporting
  text/calendar files, but doesn't actually open them, at least not on
  launch by an external program, such as any mailcap program or
  Nautilus. From Nautilus, gnome-calendar never opens. From mailcap
  applications, gnome-calendar opens but just shows a calendar.

  Additional details:

  Found when using a mail client that uses mailcap to find programs to
  open attachments. The /etc/mailcap file claims that, to open files of
  type text/calendar (e.g. *.ics files), one should run 'gnome-calendar
  %s' replacing %s with the filename:

    text/calendar; gnome-calendar %s; test=test -n "$DISPLAY"

  I found via tracing that this line comes from when the update-mime
  program parses /usr/share/applications/org.gnome.Calendar.desktop from
  the gnome-calendar package, which includes the line

    MimeType=text/calendar;

  The actual behavior of running gnome-calendar in this way is that it
  ignores the file argument and just shows a calendar and does not view
  the file specified.

  Relatedly, this desktop file also seems to result in Nautilus thinking
  that gnome-calendar should open a .ics file, but when opening a file
  via nautilus, I get an indicator showing that gnome-calendar is
  launching, but no window opens and the indicator eventually times out.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calendar/+bug/1653873/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to