Bug 405775

Summary: 'Impossible to send email' notification is too intrusive
Product: [Applications] kmail2 Reporter: Kishore Gopalakrishnan <kishore96>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 5.10.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.11.0
Sentry Crash Report:
Attachments: Screenshot showing error dialog

Description Kishore Gopalakrishnan 2019-03-23 09:34:45 UTC
Created attachment 118982 [details]
Screenshot showing error dialog

The error dialog that Kmail shows when it get disconnected from the network (see attachment) is too intrusive. In my case, it keeps on popping up whenever my wifi connection is dropped. It does not get automatically dismissed, and sometimes I get multiple instances of this dialog popping up in short succession. Since this appears even when Kmail runs in the background (grabbing focus and interrupting my work), it would be better to have this as a notification which uses the normal desktop notification system.
Comment 1 Laurent Montel 2019-03-28 12:28:09 UTC
Git commit aa75e51d3dc8b3d4f4a80b6e4c3c57addcd50f94 by Laurent Montel.
Committed on 28/03/2019 at 12:27.
Pushed by mlaurent into branch 'Applications/19.04'.

Fix Bug 405775 - 'Impossible to send email' notification is too intrusive

FIXED-IN: 5.11.0

M  +3    -97   src/data/kmail2.notifyrc
M  +6    -1    src/kmkernel.cpp
M  +12   -2    src/kmmainwidget.cpp

https://commits.kde.org/kmail/aa75e51d3dc8b3d4f4a80b6e4c3c57addcd50f94