Bug 513103

Summary: Cannot decline invitation without entering message
Product: [Applications] kdepim Reporter: Karl-Johan Karlsson <creideiki+kdebugs>
Component: messageviewerAssignee: kdepim bugs <pim-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.5.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Karl-Johan Karlsson 2025-12-08 20:45:51 UTC
SUMMARY

When declining a meeting invitation in KMail, a text box appears labelled "Reaction to Invitation". I don't want to enter a personalised reaction, but just decline the invitation, so I click "OK". I am then presented with an error dialogue box saying "You forgot to add proposal. Please add it. Thanks". This is wrong on several points, as I didn't forget anything, and don't know what proposal it is talking about. I should be allowed to decline an invitation without being forced to write a justification.

This message has been in the code at least since 2016, when it was added with the comment "Move here", without any indication of where it was moved from: https://invent.kde.org/pim/kdepim-addons/-/blob/7bb97fa2e7d6230eac644905bb74c26d25d70491/plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp#L893

And is still there in master today: https://invent.kde.org/pim/kdepim-addons/-/blob/770e1ab957858f861e87d911706587c571fa95d9/plugins/messageviewer/bodypartformatter/calendar/text_calendar.cpp#L902

Bug 341322 was the same problem reported in 2014 for KDE 4, which was closed when KDE 4 went end-of-life. As per the closing comment in that bug, I am opening a new one for the current version.

Bug 150446 was the same problem reported in 2007 for KDE 3, which was closed as fixed with the comment "A small window will popup giving the user the ability to enter an optional comment." This is a regression, since the comment is now not optional.

STEPS TO REPRODUCE
1. Receive a meeting invitation in KMail.
2. Click "Decline".
3. Enter nothing in the "React to Invitation" box.
4. Click "OK".

OBSERVED RESULT
An error message saying "You forgot to add proposal. Please add it. Thanks".

EXPECTED RESULT
The decline message is sent to the meeting organiser without any comment.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.18
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1