Uninstalling Evolution removes calendar from clock applet

Bug #691953 reported by Erlan Sergaziev on 2010-12-18
68
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Indicator Date and Time
Fix Released
Low
Karl Lattimer
indicator-datetime (Ubuntu)
Low
Karl Lattimer

Bug Description

This bug is for clock applet, but I couldn't find the project, hence filing here.

Since I use Thunderbird exclusively I wanted to get rid of the confusing Evolution mail icon from messaging indicator.
I uninstalled Evolution and its Mail Indicator.
Please note, I would like to keep messaging indicator itself for Empathy, Gwibber and Liferea.

The item is gone as expected.
However, now when I click on the clock I no longer get a nice calendar popup.

Related branches

Omer Akram (om26er) on 2010-12-18
affects: unity → indicator-datetime
Changed in indicator-datetime:
status: New → Confirmed
Changed in indicator-datetime (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Christian Dywan (kalikiana) wrote :

The code literally checks for "evolution" to decide whether to display the calendar. It then displays the calendar with "evolution -c". My local workaround is a shellscript calling my actual calendar app.

I suggest the calendar is always shown, it is perfectly functional on its own. And on click it could simply launch the application associated with "text/calendar".

Christian Dywan (kalikiana) wrote :

This patch does what I suggested above, it uses whatever is associated with text/calendar (by default Evolution) and opens it. As a side effect startup notification will be used via GAppInfo.

tags: added: patch
Karl Lattimer (karl-qdh) wrote :

I'm currently working on this part of the code, I need to review this patch and add it after I've finished the ecal integration.

Problem is that the ecal stuff depends on evolution existing, and i don't know of any other calendar clients which I could get the data from (non EDS users).

So this will wait for a little while

Changed in indicator-datetime:
assignee: nobody → Karl Lattimer (karl-qdh)
Changed in indicator-datetime (Ubuntu):
assignee: nobody → Karl Lattimer (karl-qdh)
Ted Gould (ted) on 2011-02-08
Changed in indicator-datetime:
importance: Undecided → Medium
Omer Akram (om26er) on 2011-03-12
Changed in indicator-datetime (Ubuntu):
status: Confirmed → Triaged
Changed in indicator-datetime:
importance: Medium → Low
Changed in indicator-datetime (Ubuntu):
importance: Medium → Low
Pavel Rojtberg (rojtberg) wrote :

actually a calendar daemon is not needed to display the calendar widget. There is just a stupid check in the code whether evolution is installed, preventing the calendar to be displayed.

So a quick workaround is doing

"sudo touch /usr/bin/evolution"

remember to remove that empty file once there is a proper fix.

Erlan Sergaziev (sergeant) wrote :

Thanks Pavel,

For your tip to work, one also needs to run:

sudo chmod +x /usr/bin/evolution

to make the file executable and reboot.

Of course, a proper fix would be nicer.

Ted Gould (ted) on 2011-03-29
Changed in indicator-datetime:
status: Confirmed → Fix Committed
milestone: none → 0.2.1
Ted Gould (ted) on 2011-03-31
Changed in indicator-datetime:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-datetime - 0.2.1-0ubuntu1

---------------
indicator-datetime (0.2.1-0ubuntu1) natty; urgency=low

  * New upstream release.
    * indicator-datetime-preferences crashed with SIGSEGV in
      g_utf8_normalize() (LP: #727089)
    * Uninstalling Evolution removes calendar from clock applet (LP: #691953)
    * clock doesn't update on timezone change (LP: #735445)
    * Cannot change main location (LP: #729029)
    * indicator-datetime-preferences crashed with SIGSEGV in
      g_simple_async_result_complete() (LP: #734951)
    * Time zone map looks identical when sensitive vs. insensitive (LP: #740846)
    * "Locations" window behaves like a modal dialog (LP: #740924)
    * Added location for clock menu isn't used or remembered (LP: #740930)
    * Time not displayed for added location in "Locations" window (LP: #740931)
    * "UTC" location can be removed but not re-added (LP: #740938)
    * "Locations" window bottom bar is missing a border (LP: #740941)
    * Add and Remove buttons in "Locations" window have unnecessary tooltips
      (LP: #740944)
    * No separator between "Add Event" and locations (LP: #740971)
    * indicator-datetime-preferences crashed with SIGSEGV in
      g_atomic_int_exchange_and_add() (LP: #740978)
    * inicator-datetime dosen't show corretly the time when changing from 24
      hours format to 12 hours (LP: #743394)
    * Add tooltips on the error icons
    * Fix marking to refresh as the calendar changes
    * Recycle old entries to make the refresh cleaner
    * Use day when timezone is set to 'locale'
    * Reset time when coming back from suspend (LP: #726053)
 -- Ted Gould <email address hidden> Thu, 31 Mar 2011 14:32:40 -0500

Changed in indicator-datetime (Ubuntu):
status: Triaged → Fix Released

So I got the updated package today but when I uninstall evolution I still lose the calendar. I had evolution uninstalled when the datetime update came in. I rebooted, no calendar. I installed evolution, logged out and back in, I have a calendar. I uninstalled evolution again, no calendar.

 Is there some evolution library that needs to be left behind to have this work?

Ted Gould (ted) wrote :

Are you sure that you have the configuration option set to show the calendar? It is in the Date/Time settings.

Vitaliy Kulikov (slonua) wrote :

indicator-datetime (12.10.3daily13.03.26-0ubuntu1) still need evolution staff:

vkulikov@zztop:~$ sudo apt-get install indicator-datetime -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
   evolution-data-server (3.6.4-0ubuntu1)
   evolution-data-server-common (3.6.4-0ubuntu1)
   libebackend-1.2-5 (3.6.4-0ubuntu1)
   libebook-1.2-14 (3.6.4-0ubuntu1)
   libecal-1.2-15 (3.6.4-0ubuntu1)
   libedata-book-1.2-15 (3.6.4-0ubuntu1)
   libedata-cal-1.2-18 (3.6.4-0ubuntu1)
   libedataserver-1.2-17 (3.6.4-0ubuntu1)
   libtimezonemap1 (0.4.0)
   systemd-shim (2-0ubuntu1)
Suggested packages:
   evolution (3.6.4-0ubuntu1)
   evolution-data-server-dbg (3.6.4-0ubuntu1)
The following NEW packages will be installed:
   evolution-data-server (3.6.4-0ubuntu1)
   evolution-data-server-common (3.6.4-0ubuntu1)
   indicator-datetime (12.10.3daily13.03.26-0ubuntu1)
   libebackend-1.2-5 (3.6.4-0ubuntu1)
   libebook-1.2-14 (3.6.4-0ubuntu1)
   libecal-1.2-15 (3.6.4-0ubuntu1)
   libedata-book-1.2-15 (3.6.4-0ubuntu1)
   libedata-cal-1.2-18 (3.6.4-0ubuntu1)
   libedataserver-1.2-17 (3.6.4-0ubuntu1)
   libtimezonemap1 (0.4.0)
   systemd-shim (2-0ubuntu1)

do we really need those package dependency !?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers