- Electron version: 1.3.5
- Operating system: Windows 10

Steps:
- open 2 windows
- stack the windows so that the one is on top of the other but you can still see both menus in both windows
- in the one window trigger the menu (e.g. File)
- while the menu is open, click on the menu in the other window

=> the other window is not getting focus but you can still interact with the menu
=> this causes issues because to my knowledge I cannot find out on which window an action was invoked so my actions all target the wrong window

atom/browser/ui/views/submenu_button.cc
views::MenuButton::OnPaint(canvas);
  if (show_underline_ && (underline_start_ != underline_end_)) {
    int padding = (width() - text_width_) / 2;
    int underline_height = (height() + text_height_) / 2 - 2;
    canvas->DrawLine(gfx::Point(underline_start_ + padding, underline_height),
                     gfx::Point(underline_end_ + padding, underline_height),
                     underline_color_);
  }
}
bool SubmenuButton::GetUnderlinePosition(const base::string16& text,
                                         base::char16* accelerator,
                                         int* start, int* end) {
  int pos, span;
  base::string16 trimmed = gfx::RemoveAcceleratorChar(text, '&', &pos, &span);
  if (pos > -1 && span != 0) {
    *accelerator = base::ToUpperASCII(trimmed[pos]);
    GetCharacterPosition(trimmed, pos, start);
    GetCharacterPosition(trimmed, pos + span, end);
    return true;
  }
  return false;
}
void SubmenuButton::GetCharacterPosition(
    const base::string16& text, int index, int* pos) {
  int height;
  gfx::Canvas::SizeStringInt(text.substr(0, index), GetFontList(), pos, &height,
                             0, 0);
}
}