Bug 2079356

Summary: when deleting multiple events, only the last one is deleted, others reappear after app restart
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: gnome-calendarAssignee: Igor Raits <igor.raits>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: bcotton, gmarr, gnome-sig, lruzicka, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException RejectedBlocker
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-25 16:49:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1953786    
Description Flags
bug demonstration video none

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

Comment 5 Ben Cotton 2023-04-25 17:03:01 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 Ludek Smid 2023-05-25 16:49:43 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 7 Kamil Páral 2023-05-26 08:41:26 UTC
This seems to be fixed in gnome-calendar-44.1-1.fc38.x86_64