- 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.cc
return window_->IsActive();
}
void NativeWindowViews::Show() {
  window_->native_widget_private()->ShowWithWindowState(GetRestoredState());
  NotifyWindowShow();
#if defined(USE_X11)
  if (global_menu_bar_)
    global_menu_bar_->OnWindowMapped();
#endif
}
void NativeWindowViews::ShowInactive() {
  window_->ShowInactive();
  NotifyWindowShow();
#if defined(USE_X11)
  if (global_menu_bar_)
    global_menu_bar_->OnWindowMapped();
#endif
}
void NativeWindowViews::Hide() {
  window_->Hide();
  NotifyWindowHide();
#if defined(USE_X11)
  if (global_menu_bar_)
    global_menu_bar_->OnWindowUnmapped();
#endif
}
bool NativeWindowViews::IsVisible() {