desktop: Toggling Full screen off causes the app to crash and start in full screen afterwards

Description

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

  1. Open GitHub
  2. Toggle Full screen mode on
  3. 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

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 28 (11 by maintainers)

Most upvoted comments

This has probably been found awhile ago by most of you, but I’ll comment just for reference. If your GitHub Desktop is stuck in the fullscreen “loop”, it can be fixed by quite simply deleting the window-state.json file located in the GitHub Desktop folder. Mine was located at C:\Users\(home)\AppData\Roaming\GitHub Desktop. In case you couldn’t tell, I stumbled upon the same issue accidentally.

GitHub Desktop Version 0.6.1 Windows 10 Home Version 1607 Build 14393.1358

@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.