[vim/vim] GTK4: F10 does nothing when the menubar is hidden (PR #20355)

2 views
Skip to first unread message

mattn

unread,
5:30 AM (12 hours ago) 5:30 AM
to vim/vim, Subscribed

In GTK3 (and on Windows) pressing F10 brings up the menu even when the menubar is hidden via 'go-=m'. The GTK4 path passed F10 straight through to Vim, so users who hide the menubar lost a way to reach it via the keyboard.

If F10 is not currently mapped, pop up the full menubar GMenu model as a transient GtkPopoverMenu at the top of the drawing area. A user mapping still wins, so this only adds behaviour when F10 would otherwise be inert.

Fixes #20259


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20355

Commit Summary

  • 6761ec6 GTK4: F10 does nothing when the menubar is hidden

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20355@github.com>

Christian Brabandt

unread,
4:41 PM (1 hour ago) 4:41 PM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20355)

thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20355/c4568031264@github.com>

Reply all
Reply to author
Forward
0 new messages