Crashes when setting event color to red
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.3
Affected Android/Custom ROM version
Android 14
Affected device model
Samsung A52s
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
- Select an event
- Click on event color
- Select red (top left option, see screenshot) (!Important: other colors do not cause this problem)
Expected behavior
Color changes to red
Actual behavior
- The app crashes; OR
- The event color gets reset immediately upon automatic sync
Screenshots/Screen recordings
Additional information
I have a CalDAV calendar set up in DAVx5. I have modified the DAVx5 settings, setting "manage calendar colors" to "apps can modify calendar colors" and setting "support for event colors" to ON.
Important: this does only happen if I select the top left most color, in this case red. All the other colors work fine, including similar but different shades of red.
Of note, I found this guide from DAVx5 that provided no help: https://www.davx5.com/faq/setting-event-colors-crash/
Happens to me as well, but not with the same color as you.
When assigning colors to a Google-linked calendar, a lot of the gradual colors makes the calendar crash on save (top row, second to the left).
When assigning colors to my Nextcloud-powered calendar (via DavX5), i haven't had this issue pop up yet. I assume that is because nextcloud supports assigning to all colors shown.
Could it be that the colors displayed on Fossify calender is not necessarily supported on the target back end? When assigning colors via Etar, my option is 11 different colors which works without any issues. In contrast Fossify shows me every possibillity, same as the screenshot of OP.
@marinabilles Where do you keep your CalDAV synced calendar? Google, NextCloud, or somewhere else?
@Aga-C It's hosted by an email provider, so "somewhere else".
I could not reproduce this but it might be fixed in https://github.com/FossifyOrg/Calendar/releases/tag/1.2.0
Closed because it should be fixed in 1.2.0 but if anybody still has this problem, please let me know.