Skip to content

beam-transfer/wails-menu-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wails menu breaks text input shortcuts (minimal repro)

This is a minimal Wails v2 repro that shows text input shortcuts breaking when a custom menu is set via Menu: appMenu in main.go.

Prereqs

  • Go 1.20+ (or your local Go toolchain)
  • Wails v2.11.0

Steps to reproduce

  1. cd poc/wails-menu-input-bug
  2. wails dev
  3. Click the input.
  4. Try standard clipboard shortcuts:
    • macOS: Cmd+V, Cmd+A, Cmd+C
    • Windows/Linux: Ctrl+V, Ctrl+A, Ctrl+C

Actual result

Clipboard shortcuts do not work in the text input while the custom menu is enabled: Menu: appMenu in main.go.

Expected result

Clipboard shortcuts should work in the input, even with a custom menu enabled.

Workaround / proof

In main.go, comment out the menu line:

// Menu: appMenu,

Restart the app. The input shortcuts work again.

Notes

  • The menu structure is a simplified version of the menu used in the main app.
  • The input and behavior are intentionally minimal to isolate the issue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published