WEFT_OS/docs
Marco Allegretti 80d7451abf
fix(appd): close a running session as a user close would before terminating it
TERMINATE_APP, which the taskbar sends, killed the session's processes
at once, so an application had no chance to finish, for example to
save. A running session is now asked to close through the compositor
(AppCloseRequest, which sends xdg_toplevel close to its windows) and
the app shell is given five seconds to exit by itself before what
remains is terminated. The stop reason records whether the app closed
or was terminated after the timeout. TERMINATE_APP replies stopping and
the session stays registered until it settles; a starting session is
stopped at once, and appd shutting down terminates sessions without a
close.

check_counter.py requires the compositor to ask the session's window
to close and the app shell to exit with status 0 on the close; a unit
test requires an app that ignores the close to be terminated after the
timeout and not before.
2026-10-09 16:36:29 +00:00
..
upstream Add WEFT architecture and interface design documents 2026-03-10 18:47:10 +01:00
architecture.md fix(appd): close a running session as a user close would before terminating it 2026-10-09 16:36:29 +00:00
building.md fix(compositor): reserve the taskbar strip and lay app windows out in the work area 2026-10-09 16:00:38 +00:00
security.md fix(compositor): show the shell's home on a panel click and release a dead panel's strip 2026-10-09 16:06:19 +00:00