-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar colors: Don't overwrite when not set by server #850
Comments
Or if it's not fully out of scope of the app, please integrate a color picker to set the calendar colors manually. I just disabled the calendar color sync in DAVx and noticed that even then the tasks.org app doesn't let me change the colors. The same with jtx. And the "Calendar Color" App mentioned on https://www.davx5.com/faq/change-calendar-color/ is very old and doesn't support tasks-lists without calendar. Has anybody a workaround for my usecase? My caldav provider (vikunja) doesn't seem to support synced calendar colors atm. |
Isn't that a bug? I don't want to force you to anything, and I'm thankful for developing, but after a while it's a bit annoying that the color changes always to complete different one, which I don't expect. |
I think we have all necessary information |
Sadly, even with the newest version of davx5, the colors still change. If I move the option "Manage calendar colors" to "Calendar colors can be set by other apps" I can edit the colors, but after a while they'll be overwritten by davx5 with random colors. |
I can't reproduce it with the latest 4.4.3.2 / main branch. I have set DAVx5 to "Calendar colors can be set by other apps" and changed the color in Etar and it doesn't switch back at sync, as expected. Can you please provide exact steps to reproduce the problem? |
If I refresh the Calenders in my calendar app, first the colors were synced, but after a while a few moments after sync till a few hours, the colors suddenly change. Maybe it helps you, if you know, which calendar app I use: Fossify Calendar |
No, not regarding that.
Couldn't reproduce it with Fossify Calendar, too:
Can you
The logs contain everything DAVx5 does and why. |
I just edited the colors in the way I want to record the change after that. Even while that, the colors changed. https://drive.filen.io/d/d28dd84a-a216-4ecb-982d-44596b0bcf5d#Ot1nPkzUPW9Bf9uElDJoNvcDwMPhJJle (sadly to big for GitHub) If done that before you write your last message, I'll follow your instructions in just a second. |
Maybe related to FossifyOrg/Calendar#339 |
Nope, can't reproduce it either.
Seems not to be a valid bug. |
So you've no idea how to fix it or if there's something set upped false on my mobile? |
We received your email with the logs, but you did not enable "verbose logging". It needs to be active while the calendar colors are reset. Can you do that and send the logs again? We also tried to reproduce it again - even with mailbox.org and Fossify Calendar - but were not succesful. Does it work with the Etar Calendar? Maybe it's the Fossify Calendar on your phone acting strange? Also maybe try to deactivate / uninstall Google Calendar? Maybe it's doing something in the background ... As long as we can't reproduce it, it's unfixable. |
I've tried it with another android device, there I could edit the colors without any problems. I reinstalled DAVx5 and Fossify Calendar on my Phone and configured it new, that sadly didn't help. But I watched that the calendar colors always changed to the same values, so I realized that it have to be another calendar app that is the issue. What I find strange is that it worked without any difficulties until DAVx5 updated and first there were random colors and now another calendar app make problems. Now I deactivated via the ADB the Android-Calendar. After that the colors aren't overwritten anymore, but it seems that only seven colors were saved and if I edit the eighth one another color switches to a light blue. Is this issue (general for android, I don't think the issue is DAVx5) known to you, or did it occur somewhere else before? Android Version 9 |
It's the first time I hear of this happening. Good to hear you are making progress though! Since your issue is not DAVx5 related then, I will close this issue now. We can continue our conversation via email. |
Scope
Description
Further info
Can we just not update the calendar color in
LocalCalendar.update()
when it'snull
from the server? (But of course set it inLocalCalendar.create
, otherwise the calendar will be transparent)The text was updated successfully, but these errors were encountered: