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 761301 - Option to Create events, memos and tasks as Private by default
Option to Create events, memos and tasks as Private by default
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
3.16.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2016-01-29 17:15 UTC by Doug Morse
Modified: 2016-02-23 20:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (10.89 KB, patch)
2016-02-19 17:35 UTC, Milan Crha
committed Details | Review

Description Doug Morse 2016-01-29 17:15:21 UTC
I have tried adding my Google Calendar to Evolution using both a "Google" account type and a "CalDAV" account type.  Either work fine, with one glaring exception: All events I add, for either account type, show up as public.  The default my Google Calendar in question is to "show as busy" and never reveal event details publicly.  Adding events to this calendar using either Google's web interface or Mozilla Thunderbird (Lightning and Provider for Google Calendar) creates new events as private, so it seems unlike that the issue is server side.  Events get created just fine within Evolution and always show up on Google's side.  No matter which way I set the "show time as busy" toggle button (and then save), my event(s) still show up as fully viewable to the world on Google, which is not what I want.

For the time being I suppose I'll just use Evolution's Calendar as view-only and add events using Google's web interface.  Not being able to ensure an event is not world-viewable in all its detail right within Evolution the usefulness of working within Evolution (which I'm quite happy with relative to Thunderbird, which I'm sick of and dumping).

I'm a software engineer and most happy and quite motivated to see this fix and contribute in whatever way I can to reach a positive resolution.

Thanks!
Comment 1 Doug Morse 2016-01-29 17:29:43 UTC
New finding: Apparently, if I add an event directly on Evolution's calendar --- that is, I do NOT work with or allow Evolution's pop-up for an event to open --- the the event does show up on Google as private and the world only sees "busy".  But, if I edit and then save the event in any way, all the event details are world-viewable.  Not good. :-)

Thus, it appears that my default setting of making events private / show up only as "busy" works when I add in Evolution directly on the calendar presentation, but adding or editing in any way using the pop-up window forces a sync to Google to make the event world viewable, despite what I toggle with the appropriate button, and this change cannot then be reversed within Evolution (but can be via Google's web interface).

Thanks again!
Comment 2 Milan Crha 2016-02-16 18:48:07 UTC
Thanks for a bug report. I think you mix two things together.

One is the busy status, that is, whether the time the event occupies should be shown as busy or free for anyone interested in your Free/Busy query.

The other is the classification of the event, that is, whether it is Private, Confidential or Public. While the inline editing doesn't change this attribute probably (your observation supports this), the component editor plays with this attribute. I suppose the Google uses Private for those events, because the event doesn't have it set, thus the Google server picks the default value.

The component editor has this option available, check the Options->Classification->... menu. It defaults to Public.
Comment 3 Doug Morse 2016-02-16 18:57:37 UTC
Yes, I sure am.  Setting Options -> Classification -> Private correct my problem.  Thank you!

However, I am wondering if it is possible to set this to be the default somewhere?  I cannot seem to find any such option, neither under Edit -> Preferences nor anywhere in the menus when the Component Editor is open .  Thanks!
Comment 4 Milan Crha 2016-02-17 09:40:28 UTC
(In reply to Doug Morse from comment #3)
> However, I am wondering if it is possible to set this to be the default
> somewhere?  I cannot seem to find any such option, neither under Edit ->
> Preferences nor anywhere in the menus when the Component Editor is open . 

Right, I thought you'd like to have an option for this. There is none, currently.
Comment 5 Milan Crha 2016-02-19 17:35:38 UTC
Created attachment 321678 [details] [review]
evo patch

for evolution;

This adds the "Create events, memos and tasks as Private by default" option into a new "Miscellaneous" section of Edit->Preferences->Calendar and Tasks->General tab (at the bottom of it).

The sources are currently under UI freeze [1], thus I cannot commit it for 3.20.0, but I asked for a freeze break approval, thus if given, then I'll commit it. Otherwise it's a 3.22 material.

[1] https://wiki.gnome.org/ThreePointNineteen#d2016-02-15
Comment 6 Milan Crha 2016-02-23 20:13:20 UTC
I've got the approval, thus I committed this to sources.

Created commit 0712688 in evo master (3.19.91+)