Bug 2079356 - when deleting multiple events, only the last one is deleted, others reappear after app restart
Summary: when deleting multiple events, only the last one is deleted, others reappear ...
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-calendar
Version: 36
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Igor Raits
QA Contact: Fedora Extras Quality Assurance
Whiteboard: AcceptedFreezeException RejectedBlocker
Depends On:
Blocks: F36FinalFreezeException
TreeView+ depends on / blocked
Reported: 2022-04-27 12:46 UTC by Kamil Páral
Modified: 2022-04-28 19:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)
bug demonstration video (768.27 KB, video/webm)
2022-04-27 12:46 UTC, Kamil Páral
no flags Details

Description Kamil Páral 2022-04-27 12:46:39 UTC
Created attachment 1875359 [details]
bug demonstration video

Description of problem:
When I delete multiple events in gnome-calendar, they appear all to be deleted. But after I reopen the app, all but the last one reappear. They were not deleted, just pretended.

This only happens if you delete the next event before the notification bar for the previous deletion is still visible.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create several events
2. delete all those events in a quick-ish manner (if you wait until the notification bar disappears before you next deletion, you'll not trigger this bug)
3. close and reopen gnome-calendar
4. see that all but the last one event reappeared

Comment 1 Kamil Páral 2022-04-27 12:47:07 UTC
Proposing for a Final blocker discussion due to:

Comment 2 Geoffrey Marr 2022-04-27 15:51:57 UTC
I am able to reproduce this on Fedora-Workstation-36-1.1.aarch64.raw.xz. Like Kamil says, if you don't delete the events before the notification bar at the bottom that says "Event deleted" disappears, this bug does not happen. However, if you delete all the events while the notification bar at the bottom is still showing, then upon closing and reopening gnome-calendar, all but the last event you deleted will still be shown.

Comment 3 Lukas Ruzicka 2022-04-28 07:49:41 UTC
When trying to reproduce the behaviour as Kamil described, I can see this, too. The event will not deleted if the deletion attempt is performed while the "Event deleted" message with the "Undo" button is still visible. However, if you dismiss the message using the "x" button on the right and delete the next event, it will be correctly deleted.

So this might feel like a protection from deleting an event being given some grace time to think it over. This would make a total sense to me.
The only problem I am seeing is that when I do it as described, another message is shown saying "Another event deleted" which in this case is not true.

Comment 4 Ben Cotton 2022-04-28 19:15:58 UTC
In today's Go/No-Go meeting, we agreed to accept this as a freeze exception but reject it as a blocker. This does not violate the "Basic Functionality" criterion but is worth fixing if possible

Note You need to log in before you can comment on or make changes to this bug.