After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728349 - can't set California as application for GNOME shell calendar panel
can't set California as application for GNOME shell calendar panel
Status: RESOLVED INVALID
Product: california
Classification: Other
Component: general
master
Other Linux
: Normal normal
: ---
Assigned To: California Maintainers
California Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-16 15:15 UTC by Federico Bruni
Modified: 2014-04-17 20:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Federico Bruni 2014-04-16 15:15:47 UTC
Previously discussed on bug #725765. See:
https://bugzilla.gnome.org/show_bug.cgi?id=725765#c8

I've compiled the latest version from git, but it doesn't work here (debian
unstable, gnome 3.8.4).

I believe that also in GNOME shell the calendar is hardwired to use Evolution.
Here's what I've found:

- if Evolution is not installed, the Open calendar button in gnome-shell
doesn't appear.
- if Evolution is installed, the Open calendar button appears but it launches
Evolution, even if California is set as default application for calendar in the
Gnome preferences.
Comment 1 Jim Nelson 2014-04-16 19:12:44 UTC
I've re-confirmed this is working for me under 3.10.  (I'm not sure how you can run California with 3.8.4; 3.10 is the minimum required.)  I would suggest trying the following:

As stated in other ticket, try logging out and logging back in *after* you've made California the default calendar.  That was the only step I had to do to get GNOME Shell to launch California.

If that doesn't work, try this from a terminal:

$ sudo update-desktop-database

Then verify that California is default, then log out and back in again.

I believe this works under GNOME Shell 3.8 as well, as I see California start to launch when I run it under Saucy.  However, it fails to appear, probably because it can't find 3.10's symbols.  In any event, Evolution definitely does not launch.
Comment 2 Federico Bruni 2014-04-16 21:22:47 UTC
I had already tried all the things you've suggested.

Now I've removed again Evolution and finally, only after removing Evolution, California is launched. But I guess that I did some mistake before because as soon as I removed Evolution the Open calendar button disappeared.

There's one thing I've noticed just now on my laptop. If I tried "locate california.desktop", the database listed only the file in my ~/.local/share/applications, even if I moved that file to my home dir. So I run updatedb. It may be related?

I'll double check tomorrow on my desktop PC.
Comment 3 Federico Bruni 2014-04-17 08:10:33 UTC
I confirm the same behaviour on my desktop PC. Apparently, I have to remove Evolution, otherwise gnome-shell will launch Evolution, no matter what I've set on the GNOME preferences.

$ sudo update-desktop-database 
$ locate california.desktop
$ ls /usr/local/share/applications/
california.desktop  geary.desktop  mimeinfo.cache
$ sudo updatedb
$ locate california.desktop
/home/fede/california.desktop
/home/fede/src/california/data/california.desktop
/home/fede/src/california/data/california.desktop.in
/home/fede/src/california/data/california.desktop.in.in
/usr/local/share/applications/california.desktop
$ sudo aptitude remove evolution

I don't think that I'll be able to test California on Gnome 3.10 any time soon, because Debian is slow in upgrading Gnome. They will probably move directly to 3.12, but I guess that it will take months.
Comment 4 Federico Bruni 2014-04-17 08:13:34 UTC
And to double check again; if I re-install Evolution, gnome-shell launches evolution.
However, removing Evolution fixes the problem.

I think that this issue can be closed.