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 | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/C3.tools/round1-mouse-interaction-fixture-qa.sh b/C3.tools/round1-mouse-interaction-fixture-qa.sh
index fe212d7..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"),
--
Gitblit v1.9.3