- Electron version: 1.2.2
- Operating system: Linux

This is a problem only in linux. It works in OSX.

``` javascript
win.hide()
win.capturePage(function(img){
 // never called
})
```

shell/browser/api/electron_api_web_contents.cc
content::WebContents* source,
    const content::NativeWebKeyboardEvent& event) {
  
  if (event.windows_key_code == ui::VKEY_ESCAPE && is_html_fullscreen()) {
    ExitFullscreenModeForTab(source);
    return true;
  }
  
  auto* web_preferences = WebContentsPreferences::From(source);
  if (web_preferences &&
      web_preferences->IsEnabled("ignoreMenuShortcuts", false))
    return false;
  
  if (owner_window()) {
    owner_window()->HandleKeyboardEvent(source, event);
    return true;
  }
  return false;
}
#endif
content::KeyboardEventProcessingResult WebContents::PreHandleKeyboardEvent(