[Kde-pim] Notifications on KMail

Artur Souza (MoRpHeUz) asouza at kde.org
Wed Jul 14 19:20:38 BST 2010


On Wed, Jul 14, 2010 at 11:27 AM, Volker Krause <vkrause at kde.org> wrote:
> 1) "Could not sent the mail you just wrote because you did XYZ wrong", e.g.
> selected invalid receivers, invalid crypto keys, etcs. Those probably should
> be message boxes since they require the user to fix something to proceed
> (usually in the composer itself, aborting the send/close action).
>
> 2) "Could not sent a mail because we are currently not connected to a
> network", ie. transient errors that will eventually go away. Those should be
> passive popups/notifications.
>
> I'm not sure what kind of errors composerviewbase.cpp will emit exactly, I'd
> guess only the first one.

It seems that the ones that still require some action by the user like
saying "Yes or No" uses KMessageBoxes and don't emit the 'failed'
signal. The ones that emit the signals are just "informative"
messages.

Of course the "informative messages" inform that something went wrong
and some of them implies that the user did something wrong. However,
from my pov I would say that the ones of this kind should just be
notifications (KNotify) as the user can't solve the issue on the
KMessageBox itself and it doesn't bring any advantages to the
situation. And then we would stick with the KMessageBoxes for those
that can help the user solving the issue at that very moment.

What do you think? If you're ok with this, I'll commit the (really
small) patch to use notifications on KMail-desktop too for these
messages and keep KMessageBox'es for the ones that can help the user
at that moment.

Note however that we still need to work a little bit more on the
messages as they are too much technical as Thomas pointed out on IRC,
but this is something that I'm postponing as there is too much to be
done yet :P

Cheers!
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list