Skip to content

Expose native menu dismissal for host-owned presses - #515

Merged
tiensonqin merged 3 commits into
mainfrom
devin/1796236284-native-media-menu-dismissal
Dec 3, 2026
Merged

tiensonqin merged 3 commits into
mainfrom
devin/1796236284-native-media-menu-dismissal

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Expose Lui_window.Ui.dismiss_menu_on_outside_press so a custom host can apply the window's existing outside-press rule before handling its own primary pointer input. This lets native media close an open speed menu and process Play or seek on the same click. Ui.handle uses the same rule for standard controls.

Validation

  • All 145 native window tests passed.
  • Signed macOS SDL3/Metal verified picture, Play, and seek dismissal with the same change applied to Logseq's LUI pin at 95c15045. Logseq #14721

Link to Devin session: https://app.devin.ai/sessions/1b270ce9732e481f869211815c018246
Open in Devin Desktop: https://app.devin.ai/desktop/session/1b270ce9732e481f869211815c018246?variant=devin
Requested by: @tiensonqin


🟢 Devin Review found nothing to fix · View findings

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@tiensonqin
tiensonqin merged commit 2f14ad5 into main Dec 3, 2026
11 checks passed
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