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 766489 - Can't change default calendar for events
Can't change default calendar for events
Status: RESOLVED OBSOLETE
Product: gnome-calendar
Classification: Applications
Component: General
3.18.x
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-15 20:39 UTC by Fabiana Simões
Modified: 2017-11-24 21:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fabiana Simões 2016-05-15 20:39:31 UTC
I'm currently unable to change the default calendar to save events to in GNOME Calendar. I see the option in a calendar's settings, but the change isn't saved.

Steps to reproduce:

- Open the Calendar Settings dialog.
- Under Calendars, select one of the calendar.
- Check or uncheck the option to add new events to that calendar by default.
- Click the Back button and the on that same calendar again.
- Notice that your changes haven't been saved.
Comment 1 Marinus Schraal 2016-05-15 21:14:03 UTC
Can you test on the latest stable version 3.20.2?

Also if you after completing the steps in comment #1 quit the application and start it again, do you see a change to the default calendar then?
Comment 2 Fabiana Simões 2016-05-16 19:50:37 UTC
> Can you test on the latest stable version 3.20.2?

Sorry, unable to run 3.20 here.


> Also if you after completing the steps in comment #1 quit the application and start it again, do you see a change to the default calendar then?


I don't.

Thanks for taking a look.
Comment 3 Marinus Schraal 2016-05-17 08:27:49 UTC
(In reply to Fabiana Simões from comment #2)
> > Also if you after completing the steps in comment #1 quit the application and start it again, do you see a change to the default calendar then?
> 
> 
> I don't.

Well this works for me at least in 3.20, so some of the machinery is working. Just the update during the run needs a good look at then.
Comment 4 Adam Dingle 2016-11-14 19:44:09 UTC
I'm seeing this problem too.  I'm running Calendar 3.20.4 on Ubuntu 16.10.
Comment 5 Adam Dingle 2016-11-15 18:03:55 UTC
There are actually two distinct bugs here.  The first exists in the gnome-3-20 branch, but has apparently been fixed in master.  To see it:

1. Open the Calendar Settings dialog.
2. Select a calendar, then click "Add new events to this calendar by default" to set it as default.
3. Exit the dialog.
4. Click on any day to open the New Event dialog.  It will show the *previous* default calendar, incorrectly.
5. Click the day again to close the New Event dialog.
6. Click the day again to show the New Event dialog.  It will now show the current default calendar.

The second bug still exists in master.  To see it:

1. Start gnome-calendar with some calendar A as the current default.
2. Open Calendar Settings and select a second calendar B.
3. Click "Add new events to this calendar by default" to set B as the default.
4. Click Back to go back to the Calendar Settings list.
5. Now select calendar A.  This will now invisibly set the default back to calendar A - even though "Add new events to this calendar by default" isn't checked!
6. To see that the calendar was changed in step 5, close the dialog and then click any day to open the New Event dialog.  It will show calendar A.

You can work around both bugs by exiting gnome-calendar immediately after you change the default calendar.
Comment 6 Georges Basile Stavracas Neto 2017-11-24 21:45:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/52.