Skip to content

Comments

Adds menu and fix high cpu usage#32

Merged
twlite merged 4 commits intowebviewjs:mainfrom
fast-development:add-menu-and-fix-high-cpu
Feb 19, 2026
Merged

Adds menu and fix high cpu usage#32
twlite merged 4 commits intowebviewjs:mainfrom
fast-development:add-menu-and-fix-high-cpu

Conversation

@abner
Copy link
Contributor

@abner abner commented Feb 17, 2026

I implemented a support for menu, as, mainly in MacOS, the absence of the menu configured makes the use of the webview poor, as the user can't trigger easily and natively some operations like Copy (Command + C), Paste (Command + V), Cut (Command +X), SelectAll (Command + A) and Quit (Command + Q), through the usual shortcuts.

Although, this implementation still lacks the feature to allow to override this native menu with the developer own override of the this native items label, text and own accelerators (shortcuts).

But, anyway, it could be improved, and as the menu feature itself is absence at this point, maybe it would be a matter of accepting this PR and working from there, or iterate it here during the review of this PR.

I tested it locally in my Macbook, but I couldn't verify it yet in the other Platforms (Linux and Windows).

@twlite twlite merged commit ac0b03e into webviewjs:main Feb 19, 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.

2 participants