Fix CI: recordings keep to 60 fps, the battery has room for its time left
Deploy to the handset / build-and-deploy (push) Successful in 2m3s
CI / test (push) Successful in 3m5s

- Recorder: a 12 ms gap let through 83 frames a second. Frames now come due every 60th of a
  second, with room for a 60 Hz screen's jitter.
- Battery: the handset change shrank it to 76 px everywhere, too narrow for the time left. It is
  104 px again, and 76 only on a compact panel.
- Tests: recording is timed from its first frame, the failed launch doesn't depend on the apps
  installed, and the scene test waits for notices and clocks to settle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Opus 5.5 committed 2026-11-29 23:20:00 -08:00
1 parent 4e6a8005dd
commit d1d1bb398c
6 files changed
+63 -14

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ fn wait_notice(comp : @host.ChandraCompositor, ms : Int) -> Array[String] {
///|
test "a launch that fails shows the command, the exit status and what it printed" {
let comp = new_comp("launch-fail")
comp.shell.apps.clear() // an installed Kwi would be called by its name
// What V's Flatpak kwi did: bwrap can't set up the sandbox, prints why and exits 1.
let cmd = "echo starting; for i in 1 2 3; do echo \"bwrap: Can't find source path /run/user/1000/doc/by-app/org.kde.kwi: No such file or directory\" >&2; done; exit 1"
assert_true(comp.shell.start_app("org.kde.kwi", cmd))