Skip to content

desktop scroll menus - #345

Merged
lana-20 merged 2 commits into
mainfrom
desktop-scroll-menus
Nov 28, 2026
Merged

lana-20 merged 2 commits into
mainfrom
desktop-scroll-menus

Conversation

@lana-20

@lana-20 lana-20 commented Nov 28, 2026

Copy link
Copy Markdown
Contributor
  • Scroll Mac apps with the wheel, and refuse a click outside an open menu
  • Right-click and press keys on a Mac, and keep the daemon on its thread

A swipe is the scroll wheel at its start point. A drag on a Mac
selects rather than scrolls. The sign was measured on MobiumDesk's
list in a macOS 26.6.2 guest: a finger moving up brought Rows 13-20 in
for Rows 1-8, as on a phone.

An untargeted swipe starts at the middle of the screen, which on a
desktop can lie outside the list. There it scrolled nothing, which is
the gesture as asked.

A closed menu stays in the tree about 0.4 s while it animates shut,
measured three times.

desktop.sh, with the scroll and menu steps, passed 7 runs in 7.
app_tap takes button "right", which opens a context menu on a Mac. A
phone refuses it, naming long-press. app_press takes keys: a named key
or one character after modifiers joined by + ("escape",
"cmd+shift+r"). A phone refuses keys. The button enum is unchanged, so
MCP clients still validate buttons. The CLI's `press <x>` sends keys
when x is not a button name.

Measured in a macOS 26.6.2 guest: SwiftUI's context menu is an AXMenu
inside the window's hosting group, not under the application. It has a
disabled, untitled AXMenuItem at its one item's frame, which map
reported as covering the item.

CHALLENGES 419: the daemon died with a SIGSEGV while draining an
autorelease pool on a thread other than the one that made it. This was
caught with a debugging build that kept the daemon's stderr, which is
not part of this change. desktop.sh failed 4 runs in 10 before the fix
and passed 23 in 23 after.
@lana-20
lana-20 merged commit 93e85a3 into main Nov 28, 2026
10 checks passed
@lana-20
lana-20 deleted the desktop-scroll-menus branch November 28, 2026 06:59
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