Repository navigation
desktop scroll menus - #345
Merged
Merged
Conversation
lana-20
commented
Nov 28, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.