Config reload must reset settings to defaults before applying the new file
Symptom#
After a config reload, a setting the user removed from the file keeps its old value. Example: delete notice: { ms: 8000 }, save, and the notice time stays 8000.
Cause#
The apply step in rmaestro-tui src/config.rs (apply_file) set theme, sidebar.width and notice.ms only when the new config contained them. A missing key left the previous value in place.
Fix#
On each successful apply, reset first, then apply the file. Theme goes back to the preset chosen at start without config, and the --theme flag still wins. Sidebar width goes back to the default wide width. Notice time goes back to NOTICE_MS. Keep both the base preset and the preset in use, so the reset has a value to go back to. The same rule holds for any new setting a config can change.
Evidence#
Review of TSK-3ahm0r (CHG-mqbfdw, branch feat/ts-config). Test config_reload_restores_the_defaults loads theme, width 32 and 8000 ms, saves a config with none, ticks the poll, and checks all three are back to the defaults. cargo test -p rmaestro-tui --test config passed 15 tests.