Bug 464328 - PIM events plugin shows events twice after dissociation from the event series
Summary: PIM events plugin shows events twice after dissociation from the event series
Status: REPORTED
Alias: None
Product: kdepim
Classification: Applications
Component: general (show other bugs)
Version: 5.22.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-15 15:41 UTC by fdkde
Modified: 2023-01-15 15:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the dissociated event in Kontact/Korganizer and the corresponding calendar widget entries (510.91 KB, image/png)
2023-01-15 15:41 UTC, fdkde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fdkde 2023-01-15 15:41:56 UTC
Created attachment 155315 [details]
Screenshot of the dissociated event in Kontact/Korganizer and the corresponding calendar widget entries

SUMMARY
The PIM events plugin in the digital clock widget shows events twice after dissociation from the event series - once as part of the event series and once as single event.

STEPS TO REPRODUCE
1. Configure the Plasma digital clock widget to use the PIM events plugin for the calendar: Right-click on the digital clock widget -> "Configure Digital Clock..." > "Calendar" > "Available Plugins" > tick checkbox for "PIM Events Plugin".
2. Configure the PIM events plugin to use your calendar: Still in "Digital Clock Settings" > "PIM Events Plugin" > tick checkbox for your calendar > "OK".
3. Apply your changes by clicking on "Apply" and "OK".
4. Create a new event in Korganizer ("New Event...") and configure it as recurring event (tab "Recurrence"- I chose "Repeats" > "Weekly") and save it with "Apply" and "OK".
5. Dissociate one event of the recurring event (series) by choosing one event of the series with by right-clicking on it and click on the "Dissociate from Recurrence..." context menu entry. If Korganizer asks for confirmation, hit "Dissociate".
6. Open the settings of the newly dissociated event by right-clicking on it and choosing "Edit...".
7. Edit the time and/or date for the newly dissociated event (right-click on event -> "Edit...") and save your changes.
8. Open the calendar of the digital clock widget by left-clicking on it and choose the day of the dissociated event.

OBSERVED RESULT

The dissociated and modified event is now displayed twice in the calendar of the digital clock widget - as a recurring event and as a dissociated event.

EXPECTED RESULT

The event that is now dissociated from the recurring event (series) should only be visible once in the calendar of the digital clock widget and should not be displayed a second time as part of the recurring event.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 5.26 and Arch Linux (rolling)
(available in About System)
KDE Plasma Version: Both 5.26.5
KDE Frameworks Version: Both 5.101.0
Qt Version: Both 5.15.8

ADDITIONAL INFORMATION
I'm not really sure if the bug is related to the PIM events plugin or to Korganizer's. Do they treat recurring and dissociated events in the same way? I'm wondering if the series of events internally/database-wise consists out of single events or if the series is treated as one single object for both of them.