Bug 428269 - Nextcloud calendar gets deselected every restart
Summary: Nextcloud calendar gets deselected every restart
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 5.15.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-26 11:12 UTC by Giovanni
Modified: 2021-06-04 04:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni 2020-10-26 11:12:45 UTC
SUMMARY

Basically, every time I open KOrganizer I have to select the Nextcloud calendars I want to see again, whereas that does not happen with the Google account, for example, as it remembers what I want to see. 

The calendar Plasma applet also fails to do this, I think it is the same service failing. 

STEPS TO REPRODUCE
1. Link Nextcloud account
2. Select calendars in KOrganizer
3. Restart computer
4. Open KOrganizer again.

OBSERVED RESULT
I lose my "want-to-see" Nextcloud calendars every time and I have to select them to see them. Very annoying. 

EXPECTED RESULT
When I select calendars they should stay selected until I manually change the configuration. 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.1-arch1-1
OS Type: 64-bit
Comment 1 gjditchfield 2020-10-26 14:57:19 UTC
I can't reproduce this with KDE Neon, Plasma 5.20.1, Frameworks 5.75.0, Qt 5.15.0.

Is this a new problem, or did you see it in older versions as well?
Comment 2 Giovanni 2020-10-29 08:32:04 UTC
Well, yes, I think it's been happening for a while, maybe months even.
Comment 3 Giovanni 2020-10-29 08:33:02 UTC
Could it be that if there is a bit of a misconnection to the server, somehow the data gets reseted or something?
Comment 4 gjditchfield 2021-05-05 20:37:38 UTC
Is this problem still affecting you?

If so, does it only happen when you restart, or does it also happen if you quit KOrganizer and relaunch it without logging out?

If so, here is something to check.  The calendar selection is stored in file ~/.config/kontactrc (if KOrganizer is running inside Kontact) or ~/.config/korganizerrc (if KOrganizer is running stand-alone).  Either file should have a GlobalCollectionSelection section that would look something like

  [GlobalCollectionSelection]
  Current=x-1
  Selection=c281,c64

The "cXXX" strings are the collection IDs of the selected calendars.  If you run akonadiconsole and use its DB Browser tab to look at the collectiontable, you can figure out which calendar is which.

KOrganizer writes out the current selection to the appropriate config file when it quits.  Please make some changes to your calendar selection, close KOrganizer, and check whether the changes were saved properly.
Comment 5 Bug Janitor Service 2021-05-20 04:33:45 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2021-06-04 04:33:32 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!