diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-03 09:28:33 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-04 12:52:50 +0200 |
| commit | 612fa37a08325bdd4876a6fa71b93d8362515e28 (patch) | |
| tree | 2599d137cd2534fb7fa3272cd55ad9e1f92a3c12 /tests/fixtures/truncated.eml | |
| parent | d358e3ea59cfad6a7c93f80290bab0e19bde7bbb (diff) | |
| download | qtmaildir-612fa37a08325bdd4876a6fa71b93d8362515e28.tar.gz qtmaildir-612fa37a08325bdd4876a6fa71b93d8362515e28.zip | |
fix: only interrupt startup for real configuration problems
Found while walking the task 13 checklist against real mail. Item 1
("startup shows no configuration warnings with a valid config") failed:
with a perfectly valid config that simply had no [sync] command, every
launch opened a blocking modal that had to be dismissed before the window
could be used.
Config now separates the two cases. A problem is something configured but
wrong (a sync command that does not exist, an account with no maildir);
those still open a dialog, as does every KeyMap warning, since each one
means a binding the user wrote is being ignored. A notice is an optional
feature simply not being configured; it reports to the status bar only.
Nothing is broken in that case, and a modal on every launch teaches the
user to dismiss dialogs unread, which defeats the ones that matter.
problems() is a subset of warnings(), so callers wanting everything need
only the latter.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'tests/fixtures/truncated.eml')
0 files changed, 0 insertions, 0 deletions
