https://bugs.kde.org/show_bug.cgi?id=521628

            Bug ID: 521628
           Summary: Undo Send notification is never emitted when KMail
                    runs embedded in Kontact (works in standalone KMail)
    Classification: Applications
           Product: kontact
      Version First 6.7.2
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: mail
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

With the "Undo Send" feature enabled (Settings → Configure KMail → Composer →
"Enable Undo Send", delay set to 30 s), sending a message normally pops up a
notification with an Undo action button, allowing the send to be cancelled
within the delay window.

This works correctly when running standalone KMail (kmail), but the
notification is never shown when the  KMail component runs embedded in Kontact.
The popup does not appear, and it is also absent from the Plasma   notification
history — so it is not a "popup disabled / Do Not Disturb" configuration issue;
the  notification is simply not emitted in the embedded context.

Because the Undo Send feature is implemented on top of the Send Later Agent
(the outgoing message is queued there for the duration of the delay), the
message can still be cancelled, but only by manually opening  Configure →
Plugins → Send Later Agent → configuration dialog and deleting the waiting
message. There is no  quick way to undo from within Kontact, which makes the
feature effectively unusable there.

Steps to reproduce:
  1. Enable Undo Send in KMail (Composer settings), delay e.g. 30 s.
  2. Open Kontact and switch to the Mail (KMail) component.
  3. Compose and send a test message.

Observed result:
  No Undo Send notification appears — neither as a popup nor in the Plasma
notification history. The only way to cancel the queued message is via the Send
Later Agent configuration dialog.

Expected result:
  The Undo Send notification (with the Undo action) should appear within the
delay window, exactly as it does in standalone KMail.

  Additional info:
  - The underlying Send Later agent queue works correctly in Kontact (the
message is visible/cancelable in the Send Later Agent Configuration dialog), so
the issue is specifically that the KNotification for Undo Send is not raised in
the embedded (Kontact) context.
  - Standalone kmail: notification appears and Undo works. Kontact-embedded
KMail: notification never appears.
  - KMail 6.7.2 / KDE PIM 26.04.2.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to