question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No restore feature from taskbar menu: problem when window is off screen

See original GitHub issue

Description

After connecting to an external display, my github desktop window was off all screens. With other apps you can right-click on the taskbar icon and choose maximize or restore to put the window back on the main display. But these are not available for github desktop.

Restarting the computer didn’t help, and nor did uninstalling and reinstalling github. Eventually I solved it by clicking on the icon and pressing F11 to maximize. But even then, there is no way to access the window size control features.

Having a restore function on the taskbar icon would really help!!

Version

GitHub Desktop version: Most recent. Can’t read version number because no way to access help menu!!

OS version: Windows 10.0.15063

Steps to Reproduce

  1. [First step]
  2. [Second step]
  3. [and so on]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Reproduces how often: [What percentage of the time does it reproduce?]

Logs

Additional Information

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
MitchellSingletoncommented, Dec 6, 2017

I think that I found a work around.

I edited the window-state.json file to this: {“width”:,“height”:,“x”:,“y”:,“isMaximized”:false,“isFullScreen”:false,“displayBounds”:{“x”:0,“y”:0,“width”:1920,“height”:1080}}

and then made the file read-only. This appears to prevent the window information from being saved and I don’t have to “fix” it again.

2reactions
shiftkeycommented, Jul 24, 2017

But even then, there is no way to access the window size control features.

As a workaround, the window location state is stored in a JSON file - you can delete that to get back to a happy place while we deal with the underlying taskbar integration:

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I restore the Microsoft Windows Taskbar and Start ...
Cause. Another way to help get the Taskbar back is to perform the following steps: Press and hold the <Ctrl> key and press...
Read more >
Some Programs Are Displayed Off the Screen
Start the program. · Right-click the program on the taskbar, and then click Maximize. · Right-click a blank area of the taskbar, and...
Read more >
How to Find & Recover an Off-Screen Window in Windows 10
Now, press Alt + Space + X to recover the window. There are many keyboard shortcuts on Windows, hopefully this one solver your...
Read more >
Best Fixes for Windows 11 Flashing Screen and No Taskbar
If your Windows 11 desktop keeps flicking and the taskbar is missing, you can run DISM and SFC, perform a system restore, uninstall...
Read more >
How to Move a Lost, Off-Screen Window Back to Your Desktop
Note: This option is not present in Windows 11. The easiest way to get back a hidden window is to just right-click on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found