- 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
NotifyWindowMove();
}
gfx::Size NativeWindowViews::ContentSizeToWindowSize(const gfx::Size& size) {
  if (!has_frame())
    return size;
  gfx::Size window_size(size);
#if defined(OS_WIN)
  gfx::Rect dpi_bounds =
      gfx::Rect(gfx::Point(), gfx::win::DIPToScreenSize(size));
  gfx::Rect window_bounds = gfx::win::ScreenToDIPRect(
      window_->non_client_view()->GetWindowBoundsForClientBounds(dpi_bounds));
  window_size = window_bounds.size();
#endif
  if (menu_bar_ && menu_bar_visible_)
    window_size.set_height(window_size.height() + kMenuBarHeight);
  return window_size;
}
gfx::Size NativeWindowViews::WindowSizeToContentSize(const gfx::Size& size) {