Skip to content

docs: explain menu-yield edge cases - #791

Merged
houko merged 2 commits into
mainfrom
docs/yields-to-menu-rules
Nov 19, 2026
Merged

houko merged 2 commits into
mainfrom
docs/yields-to-menu-rules

Conversation

@houko

@houko houko commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • document that MenuNotEditing blocks later items with the same shortcut while text is focused
  • document Linux's rule for unmodified shortcuts
  • keep the English and Chinese public service docs aligned

Verification

  • git diff --check

Fixes #773

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/XS labels Nov 19, 2026
Linux's menu takes unmodified keys such as F5 outside a text field or web view, and a NotInText item keeps its key from later items only while one has the focus, as driver.MenuShortcut decides; say both apply while editing.
@houko

houko commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

Reviewed. Checked both languages against driver.MenuShortcut and docs/architecture/services.md; scoped the Linux unmodified-key rule and the NotInText shadowing to a focused field or web view (dcb81d1), as the code applies them only while editing. CI green (the apple job's TestASoundDecodesOnceAndPlaysOverlapping segfaulted once and passed on rerun; unrelated to a docs change).

@houko
houko merged commit 68f48ed into main Nov 19, 2026
22 of 23 checks passed
@houko
houko deleted the docs/yields-to-menu-rules branch November 19, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: the public YieldsToMenu description leaves out the NotInText shadowing and the Linux unmodified-key rule

1 participant