You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Toggling Full screen off causes the app to crash and start in full screen afterwards #1502
Hitting F11 will resize GitHub to use the full screen, however, hitting it again will cause the the app to resize but only show a black screen. Clicking will cause the app to crash but it will continue to run in the Task Manager, resulting in GitHub not opening.
Once the process is killed in the Task Manager, GitHub can be started again but will open in full screen. Repeat.
Version
GitHub Desktop version: 0.5.3
OS version: Windows 10 version 1703
Steps to Reproduce
Open GitHub
Toggle Full screen mode on
Toggle Full screen mode off
Expected behaviour: GitHub shows a normal window again
Actual behaviour: The app becomes fully black, any further interaction with any window will cause the black window to disappear.
Reproduces how often: 100%
Logs
2017-05-16T17:52:20.724Z - error: Uncaught exception on main process
changed the title [-]Togling Full screen off causes the app to crash and start in full screen afterwards[/-][+]Toggling Full screen off causes the app to crash and start in full screen afterwards[/+]on May 17, 2017
I have run into the same problem.
Windows 10.014393 Build 14393
Dell Optiplex 7010
I also have a dual monitor setup
I tried uninstalling, but mine also retained the full screen mode. I did not try deleting the data manually. When I get this error, I have to go task manager and end the task in order to restart the program.
Just to let you all know that I'm unable to reproduce this again on version 0.5.9. Not sure in which version it got fixed for me, I have not tested ever since 0.5.3 (for obvious reasons) but accidentically toggled it just now, but i returned back to windowed-mode just fine.
So in v0.6.0, using Windows 10, this is still occurring for me. I noticed that when the user toggles away from full-screen mode, the Task Manager kills the Desktop in the Apps section and keeps all Desktop processes running in the Background. I imagine that Desktop in the Apps should still be running.
In this pic, the black screen is up for me. Notice, Desktop is missing from Apps:
There's a few intertwined setups here without good repros, and I've not been able to recreate the crash for a dual-monitor setup, but I've been able find one annoying bug when using fullscreen mode that might be close to the root cause.
Here's my steps:
nuke whatever is in your %APPDATA%\GitHub Desktop\window-state.json
launch the app
F11 to maximise the app
close the app
relaunch the app - it'll fill the screen and should be maximised
F11 to try and restore the app
I'm really not sure what's happened here but a black rectangle is definitely not what we want:
In Electron 1.7.x (see #2582) and 1.8.0 (hot off the presses) this will restore the window state when using the primary monitor, but not when you do this on a secondary monitor (nothing is displayed, but you can F11 again to get the window back) so I'll probably follow up with this problem upstream once I know where it's lurking...
Am now also facing a black GitHub Desktop window right away after the installation (identical to what is shown by shiftkey user above). Deleting the window-state.json or toggling is of no help; the app seems responsive, but just all blacked. Am on Win10 64bit, build 15063.674
@blosloos @vladorepic please have a look at #3921 which talks about issues relating to hardware acceleration with certain graphics driver sets. We also have a workaround for these situations that might address the issue.
Activity
tierninho commentedon May 16, 2017
related to: #1436
Studio384 commentedon May 16, 2017
@tierninho: Ha indeed, I only searched in the open issues. Either way, this is a real issue, didn't have anything to do with your VM.
shiftkey commentedon May 16, 2017
@Studio384 there's probably some other information I need to reproduce this (probably needs to be fixed in Electron/Chromium, so bear with me).
What monitors and display drivers do you have configured?
Studio384 commentedon May 17, 2017
I'm using a Surface Pro 4 with the latest driver installed.
[-]Togling Full screen off causes the app to crash and start in full screen afterwards[/-][+]Toggling Full screen off causes the app to crash and start in full screen afterwards[/+]majacobs47 commentedon May 22, 2017
I have run into the same problem.
Windows 10.014393 Build 14393
Dell Optiplex 7010
I also have a dual monitor setup
I tried uninstalling, but mine also retained the full screen mode. I did not try deleting the data manually. When I get this error, I have to go task manager and end the task in order to restart the program.
Studio384 commentedon Jun 6, 2017
Just to let you all know that I'm unable to reproduce this again on version 0.5.9. Not sure in which version it got fixed for me, I have not tested ever since 0.5.3 (for obvious reasons) but accidentically toggled it just now, but i returned back to windowed-mode just fine.
tierninho commentedon Jun 9, 2017
So in v0.6.0, using Windows 10, this is still occurring for me. I noticed that when the user toggles away from full-screen mode, the Task Manager kills the Desktop in the Apps section and keeps all Desktop processes running in the Background. I imagine that Desktop in the Apps should still be running.
In this pic, the black screen is up for me. Notice, Desktop is missing from Apps:

illusive-man commentedon Jun 12, 2017
Same behavior here. Exiting full screen mode crashes the app.
BTW I wonder why is there so much processes open by the app? Sometimes more than 10!
joshaber commentedon Jun 13, 2017
It looks like electron/electron#9645 may fix this on the Electron side of life.
LKarnai commentedon Jun 17, 2017
Same exact issue here.
Windows 10 Pro
1607 version
14393.1358 build
9 remaining items
shiftkey commentedon Aug 28, 2017
@WJJeske we talked about the lack of Windows taskbar features in #2311
shiftkey commentedon Sep 4, 2017
There's a few intertwined setups here without good repros, and I've not been able to recreate the crash for a dual-monitor setup, but I've been able find one annoying bug when using fullscreen mode that might be close to the root cause.
Here's my steps:
%APPDATA%\GitHub Desktop\window-state.jsonI'm really not sure what's happened here but a black rectangle is definitely not what we want:
In Electron 1.7.x (see #2582) and 1.8.0 (hot off the presses) this will restore the window state when using the primary monitor, but not when you do this on a secondary monitor (nothing is displayed, but you can F11 again to get the window back) so I'll probably follow up with this problem upstream once I know where it's lurking...
sfc-gh-eraigosa commentedon Oct 30, 2017
Thanks @shiftkey ! this got me worked around on my Mac.
joshaber commentedon Oct 30, 2017
@wenlock sent me his
window-state.jsonprior to clearing it:{ "width": 960, "height": 660, "x": 412, "y": 325, "isMaximized": false, "isFullScreen": true, "displayBounds": { "x": -3440, "y": -390, "width": 3440, "height": 1440 } }sfc-gh-eraigosa commentedon Oct 30, 2017
Screen shot for what it looks like.
blosloos commentedon Oct 31, 2017
Am now also facing a black GitHub Desktop window right away after the installation (identical to what is shown by shiftkey user above). Deleting the
window-state.jsonor toggling is of no help; the app seems responsive, but just all blacked. Am on Win10 64bit, build 15063.674rnbwwlkr commentedon Jul 17, 2018
Still having this issue and am therefore not able to use GitHub Desktop..
shiftkey commentedon Jul 17, 2018
@blosloos @vladorepic please have a look at #3921 which talks about issues relating to hardware acceleration with certain graphics driver sets. We also have a workaround for these situations that might address the issue.
les113 commentedon Mar 24, 2019