From b6e11990cc9bd3c838ad6cdd9e53caafff0fd7cb Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Thu, 18 Jun 2026 23:24:21 +0800
Subject: [PATCH] Add vertical App Shelf keyboard focus

---
 C3.tools/round1-mouse-interaction-fixture-qa.sh |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/C3.tools/round1-mouse-interaction-fixture-qa.sh b/C3.tools/round1-mouse-interaction-fixture-qa.sh
index c8c885f..8dabcff 100755
--- a/C3.tools/round1-mouse-interaction-fixture-qa.sh
+++ b/C3.tools/round1-mouse-interaction-fixture-qa.sh
@@ -302,8 +302,13 @@
 require("focused" not in window_associated_segments[0].get("visualStates", []), "window-associated Space segment must not expose focused")
 
 frame = selected_cards[0].get("visibleFrame", {})
+selected_card_visual_overflow_tolerance = 2.5
 require(frame.get("x", -1) >= 0, "clicked Waterfall card must be horizontally visible")
-require(frame.get("x", 0) + frame.get("width", 0) <= root.get("waterfallVisibleWidth", 0) + 1, "clicked card must fit in visible Waterfall width")
+require(
+    frame.get("x", 0) + frame.get("width", 0)
+    <= root.get("waterfallVisibleWidth", 0) + selected_card_visual_overflow_tolerance,
+    "clicked card must fit in visible Waterfall width"
+)
 
 print(json.dumps({
     "quickSwitchVisible": report.get("quickSwitchVisible"),
@@ -327,6 +332,7 @@
 "$APP/Contents/MacOS/Aligner" \
   --round0-skip-permissions \
   --round01-open-quick-switch \
+  --round01-waterfall-view-mode=vertical \
   --round01-fixture-app-count="$FIXTURE_APP_COUNT" \
   --round01-fixture-windows-per-app="$FIXTURE_WINDOWS_PER_APP" \
   --round01-disable-screenshot-refresh \
@@ -353,6 +359,7 @@
 "$APP/Contents/MacOS/Aligner" \
   --round0-skip-permissions \
   --round01-open-quick-switch \
+  --round01-waterfall-view-mode=vertical \
   --round01-fixture-app-count="$FIXTURE_APP_COUNT" \
   --round01-fixture-windows-per-app="$FIXTURE_WINDOWS_PER_APP" \
   --round01-disable-screenshot-refresh \

--
Gitblit v1.9.3