Issue 1:
Electron version: v1.2.5

Operating system: macOS Sierra v10.12

When I press the Cmd key, sometimes the Electron app displays an internal error. This mostly happens when I am trying to reload the app using Cmd+R. I'm not sure why this is happening, and I doubt it has anything to do with my app. Is there any solution for this?

This is a capture of the dialog box I get:

Error trace:

Exception Name: NSInvalidArgumentException

Description: -[NSToolbarFullScreenWindow redispatchKeyEvent:]: unrecognized selector sent to instance 0x7ff8314683d0

User Info: (null)

0 CoreFoundation 0x00007fff76ea552b exceptionPreprocess + 171

1 libobjc.A.dylib 0x00007fff8b57dcad objc_exception_throw + 48

2 CoreFoundation 0x00007fff76f26d34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132

3 CoreFoundation 0x00007fff76e17bf5 __forwarding + 1061

4 CoreFoundation 0x00007fff76e17748 _CF_forwarding_prep_0 + 120

5 Electron Framework 0x000000010753cf1b _ZN4atom25CommonWebContentsDelegate19HandleKeyboardEventEPN7content11WebContentsERKNS1_22NativeWebKeyboardEventE + 123

6 Electron Framework 0x00000001075053bd _ZN4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 45

7 Electron Framework 0x00000001075053cd _ZThn80_N4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 13

8 Electron Framework 0x0000000107f8aadb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9933419

9 Electron Framework 0x0000000107f8a6a7 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9932343

10 Electron Framework 0x0000000107f8937a _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9927434

11 Electron Framework 0x0000000107f891ae _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9926974

12 Electron Framework 0x0000000107f88e2f _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9926079

13 Electron Framework 0x0000000107fe1a41 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10289617

14 Electron Framework 0x0000000107fceff9 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10213257

15 Electron Framework 0x00000001085b3a88 _CTFontManagerUnregisterFontForData + 3800392

16 Electron Framework 0x0000000107672f2b _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 399035

17 Electron Framework 0x0000000107693253 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 530915

18 Electron Framework 0x000000010769356c _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 531708

19 Electron Framework 0x000000010769375b _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 532203

20 Electron Framework 0x0000000107668951 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356577

21 Electron Framework 0x000000010768a4ea _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 494714

22 Electron Framework 0x0000000107668354 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 355044

23 CoreFoundation 0x00007fff76e3b551 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17

24 CoreFoundation 0x00007fff76e1c6bd __CFRunLoopDoSources0 + 557

25 CoreFoundation 0x00007fff76e1bbb6 __CFRunLoopRun + 934

26 CoreFoundation 0x00007fff76e1b5b4 CFRunLoopRunSpecific + 420

27 HIToolbox 0x00007fff763bcf6c RunCurrentEventLoopInMode + 240

28 HIToolbox 0x00007fff763bcca9 ReceiveNextEventCommon + 184

29 HIToolbox 0x00007fff763bcbd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71

30 AppKit 0x00007fff74ab35f5 _DPSNextEvent + 1093

31 AppKit 0x00007fff751c38eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637

32 AppKit 0x00007fff74aa7fbd -[NSApplication run] + 926

33 Electron Framework 0x0000000107669186 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 358678

34 Electron Framework 0x00000001076687a4 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356148

35 Electron Framework 0x00000001076a7d03 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 615571

36 Electron Framework 0x0000000107db00bb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7989323

37 Electron Framework 0x0000000107dafec3 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7988819

38 Electron Framework 0x0000000107db24d2 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7998562

39 Electron Framework 0x0000000107dabb5d _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7971565

40 Electron Framework 0x0000000107d1d581 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7388433

41 Electron Framework 0x0000000107d1c6f6 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7384710

42 Electron Framework 0x00000001074af787 AtomMain + 71

43 Electron 0x00000001074aaec6 main + 38

44 libdyld.dylib 0x00007fff8be5b255 start + 1

Issue 2:
Electron 1.2.7, macOS only

Seen a few reports of this:

Date/Time: 2016-07-27 17:33:16.936 -0700
OS Version: Mac OS X 10.11.5 (15F34)
Report Version: 11
Anonymous UUID: BFDB9318-F4C7-3E88-A2B0-838D74414044

Sleep/Wake UUID: F6F84732-50DF-4A03-BC5A-005598A95D59

Time Awake Since Boot: 390000 seconds
Time Since Wake: 3500 seconds

System Integrity Protection: enabled

Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSToolbarFullScreenWindow redispatchKeyEvent:]: unrecognized selector sent to instance 0x7f9123c3bef0'
terminating with uncaught exception of type NSException
abort() called

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8fa324f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff88c1af7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff8fa9c1ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff8f9a2571 ___forwarding___ + 1009
4 CoreFoundation 0x00007fff8f9a20f8 _CF_forwarding_prep_0 + 120
5 Electron Framework 0x000000010ee0779a _ZN4atom25CommonWebContentsDelegate19HandleKeyboardEventEPN7content11WebContentsERKNS1_22NativeWebKeyboardEventE + 202
6 Electron Framework 0x000000010edce75d _ZN4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 45
7 Electron Framework 0x000000010edce752 _ZN4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 34
8 Electron Framework 0x000000010edce76d _ZThn80_N4atom3api11WebContents19HandleKeyboardEventEPN7content11WebContentsERKNS2_22NativeWebKeyboardEventE + 13
9 Electron Framework 0x000000010f856edb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9935307
10 Electron Framework 0x000000010f856aa7 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9934231
11 Electron Framework 0x000000010f85577a _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9929322
12 Electron Framework 0x000000010f8555ae _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9928862
13 Electron Framework 0x000000010f85522f _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 9927967
14 Electron Framework 0x000000010f8ade41 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10291505
15 Electron Framework 0x000000010f89b3f9 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 10215145
16 Electron Framework 0x000000010fe7ffb8 _CTFontManagerUnregisterFontForData + 3800696
17 Electron Framework 0x000000010ef3ebcb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 399035
18 Electron Framework 0x000000010ef5f633 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 532771
19 Electron Framework 0x000000010ef5f94c _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 533564
20 Electron Framework 0x000000010ef5fb3b _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 534059
21 Electron Framework 0x000000010ef345f1 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356577
22 Electron Framework 0x000000010ef5618a _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 494714
23 Electron Framework 0x000000010ef33ff4 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 355044
24 CoreFoundation 0x00007fff8f9c7881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25 CoreFoundation 0x00007fff8f9a6fbc __CFRunLoopDoSources0 + 556
26 CoreFoundation 0x00007fff8f9a64df __CFRunLoopRun + 927
27 CoreFoundation 0x00007fff8f9a5ed8 CFRunLoopRunSpecific + 296
28 HIToolbox 0x00007fff90d87935 RunCurrentEventLoopInMode + 235
29 HIToolbox 0x00007fff90d8776f ReceiveNextEventCommon + 432
30 HIToolbox 0x00007fff90d875af _BlockUntilNextEventMatchingListInModeWithFilter + 71
31 AppKit 0x00007fff8d83bdf6 _DPSNextEvent + 1067
32 AppKit 0x00007fff8d83b226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
33 AppKit 0x00007fff8d82fd80 -[NSApplication run] + 682
34 Electron Framework 0x000000010ef34e26 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 358678
35 Electron Framework 0x000000010ef34444 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 356148
36 Electron Framework 0x000000010ef740e3 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 617427
37 Electron Framework 0x000000010f67c4bb _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7991211
38 Electron Framework 0x000000010f67c2c3 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7990707
39 Electron Framework 0x000000010f67e8d2 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 8000450
40 Electron Framework 0x000000010f677f5d _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7973453
41 Electron Framework 0x000000010f5e9981 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7390321
42 Electron Framework 0x000000010f5e8af6 _ZN4base8internal30DstRangeRelationToSrcRangeImplIilLNS0_21IntegerRepresentationE1ELS2_1ELNS0_26NumericRangeRepresentationE0EE5CheckEl + 7386598
43 Electron Framework 0x000000010ed75307 AtomMain + 71
44 Slack 0x000000010ed6eec6 main + 38
45 libdyld.dylib 0x00007fff8eaf05ad start + 1

Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff83e38f06 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8ae7c4ec pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8ecff6e7 abort + 129
3 libc++abi.dylib 0x00007fff88be0f81 abort_message + 257
4 libc++abi.dylib 0x00007fff88c06a47 default_terminate_handler() + 267
5 libobjc.A.dylib 0x00007fff88c1d6ae _objc_terminate() + 103
6 libc++abi.dylib 0x00007fff88c0419e std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff88c03c12 __cxa_throw + 121
8 libobjc.A.dylib 0x00007fff88c1b08c objc_exception_throw + 318
9 com.apple.CoreFoundation 0x00007fff8fa9c1ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
10 com.apple.CoreFoundation 0x00007fff8f9a2571 ___forwarding___ + 1009
11 com.apple.CoreFoundation 0x00007fff8f9a20f8 _CF_forwarding_prep_0 + 120
12 com.github.electron.framework 0x000000010ee0779a atom::CommonWebContentsDelegate::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&) + 202
13 com.github.electron.framework 0x000000010edce75d atom::api::WebContents::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&) + 45
14 com.github.electron.framework 0x000000010edce752 atom::api::WebContents::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&) + 34
15 com.github.electron.framework 0x000000010edce76d non-virtual thunk to atom::api::WebContents::HandleKeyboardEvent(content::WebContents*, content::NativeWebKeyboardEvent const&) + 13