Start with defaults when configuration is invalid (#29)

Invalid configuration currently prevents login. Ferese now starts with built-in defaults and shows a notification when the shell is ready, leaving the file untouched. Loading and validation belong to the config module, while the theme module resolves appearance. Validation remains strict, and failed live reloads keep the active settings.

The native Morph regression checks the animated input region and idle frame scheduling while its backing surface stays allocated.

Validation: workspace and Python tests, formatting, Clippy, release build, and isolated Wayland startup/reload and panel-motion tests. Native CI includes the startup regression.

Related: #28.
This commit is contained in:
Samuel Onoja authored and GitHub committed 2026-10-12 13:18:50 +01:00
1 parent b31618b749
commit 7a7df0106c
14 files changed
+456 -87

No files matched your search

+1 -1
View File
@@ -646,7 +646,7 @@ mod manager_loop {
/// A `Ferese` wired to a real event loop, ready to run the manager.
fn session(directory: &Path, path: PathBuf) -> (EventLoop<'static, Ferese>, Ferese) {
let (_, runtime, _) = crate::theme::prepare("xwayland { }", directory).expect("prepare configuration");
let (_, runtime, _) = crate::config::prepare("xwayland { }", directory).expect("prepare configuration");
// Owned inputs, so this test never competes for a real display slot.
let allocator = directory.join("x11");
fs::create_dir_all(&allocator).expect("create the allocator directory");