- Electron version: 1.4.0
- Operating system: Windows 7 (x64)

I launch Electron and then press `ALT` to show menu. Now you mouse click on any top-level menu item, active menu item will NOT be changed to down state. I checked with 1.3.5, it is fine.

atom/browser/ui/views/submenu_button.h
public:
  SubmenuButton(views::ButtonListener* listener,
                const base::string16& title,
                views::MenuButtonListener* menu_button_listener);
  virtual ~SubmenuButton();
  void SetAcceleratorVisibility(bool visible);
  void SetUnderlineColor(SkColor color);
  void SetEnabledColor(SkColor color);
  void SetBackgroundColor(SkColor color);
  base::char16 accelerator() const { return accelerator_; }
  
  void OnPaint(gfx::Canvas* canvas) override;
 private:
  bool GetUnderlinePosition(const base::string16& text,
                            base::char16* accelerator,
                            int* start, int* end);
  void GetCharacterPosition(
      const base::string16& text, int index, int* pos);
  base::char16 accelerator_;
  bool show_underline_;
  int underline_start_;
  int underline_end_;
  int text_width_;
  int text_height_;
  SkColor underline_color_;
  DISALLOW_COPY_AND_ASSIGN(SubmenuButton);
};
}  
#endif