custom-electron-titlebar icon indicating copy to clipboard operation
custom-electron-titlebar copied to clipboard

Items with generated accelerators are wrongly escaped

Open tbuteler opened this issue 6 years ago • 0 comments

On Windows, if you use a generated accelerator with the & character, the entire submenu item's string will get escaped, including the ampersand.

Consider the following strings used as labels:

  • Log project
  • Log settings
  • S&how user data folder in Explorer
  • Crash main process
  • Crash renderer process
  • &Toggle developer tools

The two that have generated accelerators will be escaped, as seen below:

Screenshot 2019-10-09 at 07 57 00

tbuteler avatar Oct 09 '19 07:10 tbuteler