- Electron version: 1.1.3 & 1.2.0
- Operating system: Windows 10 Build 10580

The icon of a window is reset after minimizing it for a short period of time (about 2 minutes), hiding it and showing it again.
An app to reproduce this bug: https://github.com/taroxd/electron-quick-start

atom/browser/native_window_views.h
#endif
  
  gfx::Size ContentSizeToWindowSize(const gfx::Size& size) override;
  gfx::Size WindowSizeToContentSize(const gfx::Size& size) override;
  void HandleKeyboardEvent(
      content::WebContents*,
      const content::NativeWebKeyboardEvent& event) override;
  
  gfx::Size GetMinimumSize() override;
  gfx::Size GetMaximumSize() override;
  bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
  
  void RegisterAccelerators(ui::MenuModel* menu_model);
  
  ui::WindowShowState GetRestoredState();
  std::unique_ptr<views::Widget> window_;
  views::View* web_view_;  
  std::unique_ptr<MenuBar> menu_bar_;
  bool menu_bar_autohide_;
  bool menu_bar_visible_;
  bool menu_bar_alt_pressed_;
#if defined(USE_X11)
  std::unique_ptr<GlobalMenuBarX11> global_menu_bar_;
  
  std::unique_ptr<WindowStateWatcher> window_state_watcher_;
  
  
  
  extensions::SizeConstraints old_size_constraints_;
#elif defined(OS_WIN)