Bug 324850

Summary: A connection error dialog pops up on start
Product: [Applications] trojita Reporter: Joshua J. Kugler <joshua>
Component: Desktop GUIAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: git   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Joshua J. Kugler 2013-09-12 17:29:11 UTC
Starting up trojita.nightly, I get a dialog that says Connection Error "The QProcess is having troubles: No such file or directory" 

This appears to be from not having a configured IMAP account.

Reproducible: Always

Steps to Reproduce:
Install Trojita. Start up without configuring IMAP. 


Expected Results:  
Maybe a warning, or a more informative message.
Comment 1 Jan Kundrát 2013-09-13 09:08:46 UTC
The steps to reproduce are actually:

1) install Trojita
2) run Trojita
3) a configuration dialog appears, press "OK" in there
4) an error message shows up

If the user presses "Cancel" at step three, Trojita works as expected.
Comment 2 Jan Kundrát 2013-11-15 18:50:00 UTC
Git commit 993af45ad1478a087c11b01084f640f2f17aeb1f by Jan Kundrát.
Committed on 15/11/2013 at 15:51.
Pushed by jkt into branch 'master'.

Add UI hints and prevent saving a configuration which definitely is not going to work

v2: Check more fields -- thanks to Caspar for review.
REVIEW: 113886

M  +80   -0    src/Gui/SettingsDialog.cpp
M  +5    -0    src/Gui/SettingsDialog.h

http://commits.kde.org/trojita/993af45ad1478a087c11b01084f640f2f17aeb1f