Bug 492318

Summary: Kroganizer changes calendar colours randomly after restarting system
Product: [Applications] korganizer Reporter: Juan Gomez <juangg1977>
Component: generalAssignee: Juan Gomez <juangg1977>
Status: REPORTED ---    
Severity: normal CC: gallandaluz, kde.naphthylamine, vitor895
Priority: NOR    
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot from four different lauches of the application.

Description Juan Gomez 2024-08-28 14:03:11 UTC
SUMMARY
When using Korganizer, if I set colours to different online calendars(gmail), after restarting the system, Korganizer changes colours randomly.
This doesn't happen when closing and opening the application in the same session, only after restarting the computer.

STEPS TO REPRODUCE
1. Change/pick your desired colours to your online calendars.
2. Close Korganizer and shut down computer.
3. Restart computer and open Korganizer. The colours have changed and have nothing to do with the ones you previously set.

OBSERVED RESULT
Colour tags from calendars change from the ones previously set.

EXPECTED RESULT
Colour tags from calendars still remain as they were set.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Opensuse Tumbleweed 20240826
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Juan Gomez 2024-08-28 14:27:58 UTC
Created attachment 173044 [details]
Screenshot from four different lauches of the application.

The first one starting from the top left corner are the colours set by me. The rest are the colours Korganizer "picks" after restarting the system.
Comment 2 Vitor Pereira 2024-10-03 03:28:04 UTC
Hi, I'm having a issue with Korganizer changing calendar colours randomly after a creation of a new event in a DAV calendar synced on Nextcloud. Info: KOrganizer Version 6.2.0 (24.08.0). Fedora 40.
Comment 3 kde.naphthylamine 2024-10-04 13:25:30 UTC
I can also confirm this is happening with a Nextcloud CalDav connection. KOrganizer 6.2.1 (24.08.1) on Arch Linux.