Bug 512828 - Two instances of the "Defer Alarm" dialog are shown
Summary: Two instances of the "Defer Alarm" dialog are shown
Status: RESOLVED FIXED
Alias: None
Product: kalarm
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.5.4.2
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-01 08:34 UTC by kde
Modified: 2025-12-06 20:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 25.12.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).