Skip to content

docs: on-screen proof for ignore drags and Shift-click full bar - #491

Merged
tieubao merged 5 commits into
developfrom
test/onscreen-proof-hooks
Nov 15, 2026
Merged

tieubao merged 5 commits into
developfrom
test/onscreen-proof-hooks

Conversation

@tieubao

@tieubao tieubao commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

On-screen proof for #487 (Ignore drags) and #486 (Shift-click full bar), both already merged. A Debug-Direct build (Developer ID signed) ran from /Applications and was driven only by the Debug hooks: no pointer or key input.

Changes

  • test: Debug-only hooks: drag-lock <bundle>=on|off (what the Ignore drags checkbox runs), settings <tab>[,light|dark][,<bundle>] (shows Settings without activating the app), toggle-full-bar-once (what Shift-click runs). dump-state also reports ignoredDrags and fullBarThisExpansion.
  • docs: docs/implementation-notes/ignore-drags.md and shift-click-full-bar.md, with crops in *-proof/.

Results

Proof Result
Ignore drags checkbox, off and on, light and dark shown, state follows pinnedDragLocks
Lock on: relaunch, read, boundary move, read 1024 magenta px, stays visible
Lock off: same sequence 0 px, drifts to hidden
Shift-click path: activation policy regular while expanded, accessory after collapse
Plain toggle afterwards accessory: the full bar is one-shot
useFullStatusBarOnExpandEnabled 0 before and after
Hidden Bar app menu in the menu bar not proven: macOS 27 kept the frontmost app active, because a hook is not user input; needs one real Shift-click

Tests

scripts/test.sh: Direct 292, App Store 217, 0 failed.

drag-lock <bundle>=on|off runs what the Ignore drags checkbox runs; settings <tab>[,light|dark][,<bundle>] shows Settings without activating the app. dump-state also reports ignoredDrags. Debug builds only.
Runs what Shift-click on the arrow runs; dump-state also reports fullBarThisExpansion. Debug builds only.
Debug-Direct from /Applications, driven only by the Debug hooks. Ignore drags: lock on keeps the probe shown after a move (1024 px), lock off drifts it to hidden (0 px). Shift-click: one-shot regular policy, back to accessory on collapse, the stored setting unchanged; the app menu itself is not proven (macOS 27 refused activation without user input).
A real Shift-click sets the one-shot flag and the regular policy, but Hidden Bar is not activated, so the frontmost app keeps the menu bar.
Policy switched to regular, but the app menu was not shown at capture time; Hidden Bar was not frontmost at either sample.
@tieubao
tieubao merged commit 86df161 into develop Nov 15, 2026
@tieubao
tieubao deleted the test/onscreen-proof-hooks branch November 15, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant