Bug 370481 - unintuitive accidental duplication of calendar leads to irreversibly deleting calendar on server
Summary: unintuitive accidental duplication of calendar leads to irreversibly deleting...
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.14.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-11 15:02 UTC by temp1
Modified: 2022-11-25 05:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description temp1 2016-10-11 15:02:09 UTC
I have a collection of calendars on a Davical server.  They all appear as separate calendars in a collection in the tree view.
KOrganizer often de-selects my calendars for some reason, so I have to click on them to re-select them to see the events.
One time I clicked and accidentally dragged slightly, and the calendar I tried to click on was copied into another calendar and appeared as a sub-calendar.  The calendar now appeared twice in the calendar view.
I right-clicked on the duplicate calendar, and the only option available to remove it was "Delete Calendar Folder".  It asked me if I wanted to delete it, and I clicked yes.
The original calendar still remained in the tree view, but the actual calendar, containing thousands of events, had been DELETED FROM THE SERVER (which is running Davical).
After re-fetching the list of calendars in the underlying calendar collection, the calendar had indeed been deleted, and no longer appeared in the tree view.

The problem is the unintuitive behaviour.  If you accidentally duplicate your calendar, how do you get rid of the duplicate?
The first problem is that you can make a calendar a sub-calendar, which in reality isn't reflected in the calendar structure on the server.
Secondly, the only option to remove a duplicated calendar is "Delete Calendar Folder"
Thirdly that, despite asking you if you want to do this, it's not clear that this deletion will be propagated to the server.

The way to get the calendar tree back to normal is not to do any manipulation of the tree using the GUI, but to re-fetch the list of calendars in the collection using the calendar server settings in the configuration menu.

Reproducible: Always

Steps to Reproduce:
1. click and drag on a calendar in your collection to another calendar in the collection
2. select copy

Actual Results:  
You're left with a duplicate calendar that when you remove it in what seems like an intuitive way, you irreversibly delete the calendar from the server.

Expected Results:  
You're left with a duplicate calendar that when you try to remove it, simply disappears and leaves the other calendar in place.
Even if it was the only calendar in the list, I would only expect the calendar to be deleted from the tree view, not from the server (at least not without a very serious warning message).
Comment 1 Justin Zobel 2022-10-26 03:07:16 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-10 05:12:22 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 3 Bug Janitor Service 2022-11-25 05:22:37 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!