Resume Cthulhu on empty i3 workspaces
This commit is contained in:
1 parent
7752c4e566
commit
d5f8a392cf
8 files changed
+191
-44
No files matched your search
@@ -10,10 +10,20 @@ has been admitted. It releases its command grabs. On return, Caps Lock tracking
|
||||
adopts the current XKB lock state before treating Caps Lock as the reader
|
||||
modifier again.
|
||||
|
||||
On i3, focusing an empty workspace resumes Cthulhu and its shortcuts even
|
||||
though no accessible application gains focus. This requires i3's verified
|
||||
window-manager identity, no EWMH active client, and keyboard focus on i3's
|
||||
support window. Returning to a workspace with focused XTerm suspends Cthulhu
|
||||
again. Moving or closing the last window also restores shortcuts when i3
|
||||
enters that no-client state. This behavior is independent of workspace
|
||||
announcement preferences. Unknown focus on other desktops keeps the existing
|
||||
handoff policy.
|
||||
|
||||
Focused checks:
|
||||
|
||||
```sh
|
||||
go test ./internal/app -run 'Test(XTerm|DelegatedInput)' -count=1
|
||||
python3 tests/native_i3.py
|
||||
python3 tests/native_x11.py
|
||||
```
|
||||
|
||||
@@ -36,4 +46,12 @@ reader and physical keyboard handling require live verification.
|
||||
Control, or Shift when using the “all keys” interruption setting. Expect
|
||||
Cthulhu's current announcement and queued continuation to stop promptly.
|
||||
Fenrir must continue receiving terminal keys, with no Cthulhu key echo.
|
||||
6. Record the exact keys, focused application, speech and Braille for failures.
|
||||
6. With XTerm in workspace 7, switch to empty workspace 8. Expect the normal
|
||||
workspace announcement if enabled. Press Cthulhu+Space; expect Preferences
|
||||
to open and its controls to speak and appear on Braille. Close Preferences,
|
||||
return to workspace 7, and check that Fenrir receives its modifier and
|
||||
navigation keys again, without Cthulhu key echo. Repeat with a floating
|
||||
XTerm, and with i3 workspace announcements disabled. The shortcuts must
|
||||
resume on the empty workspace in each case. Also visit an ordinary editor
|
||||
or file manager and confirm normal Cthulhu focus speech and Braille.
|
||||
7. Record the exact keys, focused application, speech and Braille for failures.
|
||||
Reference in new issue
Block a user