Calendar
Calendar copied to clipboard
Can't delete Regular Event in Manage event types tab
Checklist
- [X] I can reproduce the bug with the latest version given here.
- [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one bug.
- [X] I have read and understood the contribution guidelines.
Affected app version
1.0.2
Affected Android/Custom ROM version
Android 11
Affected device model
Ulefone Armor 8 Pro
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
Settings/Manage event types/Regular Event/Delete. Are you sure you want to proceed with the deletion: Yes Default event type cannot be deleted.... Well, I don't know what this thing is. I don't use it, so I want to delete it? Why I can't ? In addition: Settings/New Events/Default event type is set to Last used one. And I use my CalDav Calendar Thanks for your help
Expected behavior
Delete the entry
Actual behavior
Refuse to delete
Screenshots/Screen recordings
No response
Additional information
No response
This event type is not meant to be deleted. "Regular Event" is done as a fallback type that is always present in the app. If you'd like, you can change the name or hide it, but it still has to be in the app. Maybe the wording of the message in the toast is not very precise, but otherwise it would be too technical.
I'm reopening this issue, because maybe we will add the possibility to remove the default event type. First we need to investigate it thoroughly, how it will impact the app. Please refrain from working on it until needs triage is taken off.
Why is there an unsynchronized undeletable calendar on my phone? Today I accidentally added some events to it, then had to figure out why they were not being sync'd. I missed an important event because of it.
So, help me out here? What is its purpose? I don't see any reason for it to exist, except as a trap for the unwary?
@bronson the reasons are explained here: https://github.com/FossifyOrg/Calendar/issues/150#issuecomment-1946167183
@naveensingh that doesn't actually explain why "Regular event" is needed. Why not use a synchronized calendar as a fallback? That seems safer and less arbitrary..
Having unsynchronized calendars on my phone concerns me... I expect I'll make this mistake again one day.
Why not use a synchronized calendar as a fallback? That seems safer and less arbitrary..
Because, by default, there is no synchronized calendar.
Having unsynchronized calendars on my phone concerns me... I expect I'll make this mistake again one day.
Until this is resolved, you can change Settings => Default event type option such that new events default to your synchronized calendar.
I also want to second that a non-deletable default should be avoided. It is not only a potential pitfall initially (I ran into a similar situation like @bronson at first), it also is a potential future one if you want to set up a maximum simple device for not so tech-savvy family members. Any additional option they might accidentally switch or change only complicates things.
Maybe it would be an idea to start without any event type and offer to create one when an action is attempted that requires one, or just hint at the fact that an event type needs to be created first. Other calendar apps like the built-in LineageOS one start without any pre-configured defaults like that, and hence allow you to have a very "clean" setup when you only want to use CalDAV.