Bug 512828

Summary: Two instances of the "Defer Alarm" dialog are shown
Product: [Applications] kalarm Reporter: kde
Component: generalAssignee: David Jarvie <djarvie>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.5.4.2   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 25.12.1
Sentry Crash Report:

Description kde 2025-12-01 08:34:56 UTC
SUMMARY
When an alarm activates, the notification dialog allows the alarm to be deferred [Defer…]. If the [Defer…] button is double-clicked then two instances of the "Defer Alarm" dialog will shown. NB I'm not intentionally double-clicking on that button, it's just that my mouse is getting old and a single-click sometimes produce a double-click.


STEPS TO REPRODUCE
1. Set a KAlarm display alarm
2. When it is activated double-click on the [Defer…] button


OBSERVED RESULT
Two instances of the "Defer Alarm" dialog will be shown

EXPECTED RESULT
Only one instance of the "Defer Alarm" dialog should ever be shown

SOFTWARE/OS VERSIONS
Linux: Debian GNU/Linux 12 (bookworm)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Comment 1 David Jarvie 2025-12-06 20:25:06 UTC
The Defer button is now disabled after the Defer dialog is opened, which prevents more than one Defer dialog from being displayed for the same alarm. Fixed for KAlarm version 3.12.1 which will be released in KDE Gear 25.12.1 (commit 1d94a37155e48661c997bf1306c07c4d61f3e464).