Bug 470420

Summary: Clicking on a selected event should close the popup
Product: [Applications] Merkuro Reporter: Riccardo Robecchi <sephiroth_pk>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: REPORTED ---    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 23.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Riccardo Robecchi 2023-05-29 15:24:26 UTC
SUMMARY
When you click on an event, a popup appears showing the details for said event. As a user, though, I expect that clicking again on that same event makes the popup close. There are countless examples of this behaviour throughout software, including all menubar menus, Firefox's download button and so on. Kalendar is the odd one out as clicking on an event when its popup is open makes said popup briefly close and then open again.

STEPS TO REPRODUCE
1. Click on an event to bring up the popup
2. Click on the event again

OBSERVED RESULT
The popup briefly closes and then opens again.

EXPECTED RESULT
The popup closes and stays closed.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION