elementary / elementary/calendar

Glitches horribly – duplicate events show up, repeat doesn't work

Open
#601 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
136
Forks
42
Avg merge
8h 33m
Merged PRs (30d)
3

Description

## Prerequisites
- [x] I have searched open and closed issues for duplicates.

## Describe the bug
I tried to add my university schedule to the Elementary Calendar. I only added events by hand, I didn't import anything. After adding a few, the calendar started glitching terribly, making it impossible to manage my events.

[See video.](https://imgur.com/gallery/CrlWaCR)

[Download my exported events.](https://gist.github.com/m93a/80442be791b59249f4d83e8dc0c224fe/raw/0f80bd697b0bd3fd5fa14ccbd743f938931888a2/calendar.ics.zip)

### To Reproduce
Steps to reproduce the behavior:
1. Open calendar
2. Add an event on Monday
3. Turn on weekly repeat
4. See that the event does *not* repeat
5. Try to edit the event
6. A duplicate event appears
7. What.

### Expected behavior
I expected the Calendar app to work properly.

### Screenshots or screen recordings

### Logs
The only error log I saw was this one:
```
** (io.elementary.calendar:3636): CRITICAL **: 11:28:29.710: Store.vala:379: Error from source 'Narozeniny a v?ro??': Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
```
But this is probably unrelated. I think it was caused by me starting the Calendar with a different locale. ”Narozeniny a výročí” is Czech for “Birthdays and aniversaries”. The glitching appeared even **before** I switched locale and this error log stopped appearing once I restarted the app with the new locale.

## Platform Information
![elementary OS 5.1.7 Hera](https://user-images.githubusercontent.com/1671665/94419005-6c57c600-0182-11eb-8195-4664c1903cd9.png)

- [ ] I'm using the latest version from git that I've manually compiled
- [x] I'm using the latest released stable version

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/94970698-glitches-horribly-duplicate-events-show-up-repeat-doesn-t-work?utm_campaign=plugin&utm_content=tracker%2F60388692&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60388692&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported sequence in the Calendar app: add a Monday event, enable weekly repeat, then edit it while observing whether repetition fails and duplicates appear. Done means weekly repeats work and editing the event no longer creates duplicate events; the payload names no source files or tests, so the relevant event-handling path must first be located.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.