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
Previost native version had option to open new window what was handy for working on multiple repositories at once. Electron version does not support it, so I have to switch between project in one window what is in some use-cases very uncomfortable.
Work around is to keep old native version and run it if I need to work on multiple repos simultaneously.
Version
GitHub Desktop version: 1.0.10
OS version: macOS High Sierra
Expected behavior: Menu option File → New window will be there
Actual behavior: Menu option File → New window is not there
Reproduces how often: Always
Reacted by Izhaki, Percy Hanna, Laura buns, Niklas, Jeff Lam, Andy Fleming, Jonas Hammersholt, Taylor Dale, Travis Van Couvering, Ioannis Remoundos and 195 more
Reacted by Manzoor Wani, TheCreamCheeseWonton, Nathan Campbell, Gary Haran, Dan Chaltiel, Chris, Martin Mouritzen, jonaspetraska7, scottjanderson, Chris Biagioni and 13 more
Electron version does not support it, so I have to switch between project in one window what is in some use-cases very uncomfortable.
This is partially true. Electron supports running the application as a single instance, which we've enabled for Desktop here.
This change was added way back in #35, and we haven't had much feedback about this being missed (both the classic Mac and Windows apps did this). And I thought we were tracking this elsewhere, but I couldn't spot a relevant issue.
This leverages app.makeSingleInstance so that Windows will pass the OAuth callback to the original instance (rather than launching a new one).
Ah, I think this might be part of the issue. With multiple windows it's not clear where to route the OAuth callback received from the OS (on Windows at least, I'm not sure about macOS).
On macOS you will probably save somewhere what instance requested Oauth and then pass callback to instance what was last.
But if you mean login to GitHub, as I understand it, the result will be auth token saved globally and persistently for all instances, so it doesn't matter what instance will process it.
Jan Pobořil
https://honza.poboril.cz/
15. 12. 2017 v 0:38, Brendan Forster <[email protected]>:
This leverages app.makeSingleInstance so that Windows will pass the OAuth callback to the original instance (rather than launching a new one).
Ah, I think this might be part of the issue. With multiple windows it's not clear where to route the OAuth callback received from the OS (on Windows at least, I'm not sure about macOS).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
On macOS you will probably save somewhere what instance requested Oauth and then pass callback to instance what was last.
We don't get this for free with Electron, and would require some rework of our main-process.ts to broadcast this message to all windows (which we don't currently track) which will likely uncover other places where we rely on this assumption.
We also rely on this "single instance" rule for other things - updating the app on Windows for example.
For now, I'm going to mark this as "future proposal" and close it out - the core team has other priorities on the roadmap in the near term, so this won't be a priority unless someone from the community cares enough to dig into the work required.
One thing to notice: Without having the "multiple windows" feature, on macOS we can't use GitHub Desktop on multiple Spaces within Mission Control.
While working on multiple projects concurrently, I like to have a separate Space for every project (containing windows for Atom, Chrome, iTerm2 etc.). But because GitHub Desktop can live at only one Space at a time, I always have to move GitHub Desktop to the right Space for just doing a commit, which is a little bit annoying.
Reacted by Honza Pobořil, Massimo Tisi, Jeff Lam, Andy Fleming, Taylor Dale, Manel Clos, Steve Rogers, Martin Schade, Gabriel Krell, ren-odoo and 29 more
Would love to see this, I had a feeling there would be an already open issue on it but couldn't find it quickly. Killing me currently having to drag it back and forth between my desktops and then switching repos on windows 10 when developing the front and backend simultaneously
Reacted by Mihai Codoban, HBaghdadi1995, Lane Eden, Kari Harju, Dejan Bogatinovski, Felix Eisenkolb, Enzo Volkmann, Sebastian Fiedlschuster, Lance Anderson, HughWarrington and 7 more
Previost native version had option to open new window what was handy for working on multiple repositories at once. Electron version does not support it, so I have to switch between project in one window what is in some use-cases very uncomfortable.
Work around is to keep old native version and run it if I need to work on multiple repos simultaneously.
Version
GitHub Desktop version: 1.0.10
OS version: macOS High Sierra
Expected behavior: Menu option File → New window will be there
Actual behavior: Menu option File → New window is not there
Hey folks, I forked GitHub Desktop and added a minimal multi-window implementation on this branch. The patch ended up being smaller than I originally expected.
You can now click “Open Repository in New Window” from the repository list to open a separate window, or run github repo/path. Each window uses the repository title, which also makes it easier to distinguish them from the Window menu in the menu bar.
Video demo:
Screen.Recording.2026-03-11.at.09.54.09.mov
BTW, I also have a tip release signed with my Apple Developer account that I’ve been using myself and sharing with a few friends, so hopefully that helps validate the approach. You can try to install it with brew install --cask hewigovens/tap/github-desktop-tip
Reacted by Jonathan Rezende, 3DJ, brian-forwardedu and vlad furtuna
Reacted by Pascal, Jonathan Rezende, 3DJ, Ben Haller, saltyfishfunny, Sparky, Brandon McCandlish, Evorp, brian-forwardedu and vlad furtuna
Hey folks, I forked GitHub Desktop and added a minimal multi-window implementation on this branch...
This seems great! Have you submitted it as a PR that is marked as fixing this issue? (I don't know what a "tip release" is, so apologies if I'm being dumb in asking this. :->)
Hey folks, I forked GitHub Desktop and added a minimal multi-window implementation on this branch...
This seems great! Have you submitted it as a PR that is marked as fixing this issue? (I don't know what a "tip release" is, so apologies if I'm being dumb in asking this. :->)
I haven't submitted pr yet, i'm testing in daily basis to make sure it doesn't have critical issue, if more people want it, maybe we can tag maintainers like @tidy-dev to check it?
Reacted by Ben Haller, Igor Urisman, Fernando Blanco, Brandon McCandlish, Hyeong Nam Jang and brian-forwardedu
@hewigovens , Are you still testing to make sure it doesn't have an issue? Looks like you tested for one month or more. So I think you can raise PR.
If you want to push it more safely, You can add "Enable Multiple Windows Feature" checkbox in "Option".
@hewigovens , Are you still testing to make sure it doesn't have an issue? Looks like you tested for one month or more. So I think you can raise PR. If you want to push it more safely, You can add "Enable Multiple Windows Feature" checkbox in "Option".
Yes, still testing and the fork expands the scope gradually, now the changes include:
Open in new window from repo list or from CLI: github <repo-path>
Sign in/out across different windows
Performance fixes -> still have some issues
It feels unlikely being merged so i haven't raise the pr
Activity
[-]Add File → New window option (macOS)[/-][+]Support multiple windows[/+]shiftkey commentedon Dec 14, 2017
This is partially true. Electron supports running the application as a single instance, which we've enabled for Desktop here.
This change was added way back in #35, and we haven't had much feedback about this being missed (both the classic Mac and Windows apps did this). And I thought we were tracking this elsewhere, but I couldn't spot a relevant issue.
shiftkey commentedon Dec 14, 2017
Ah, I think this might be part of the issue. With multiple windows it's not clear where to route the OAuth callback received from the OS (on Windows at least, I'm not sure about macOS).
iBobik commentedon Dec 15, 2017
shiftkey commentedon Dec 26, 2017
We don't get this for free with Electron, and would require some rework of our
main-process.tsto broadcast this message to all windows (which we don't currently track) which will likely uncover other places where we rely on this assumption.We also rely on this "single instance" rule for other things - updating the app on Windows for example.
For now, I'm going to mark this as "future proposal" and close it out - the core team has other priorities on the roadmap in the near term, so this won't be a priority unless someone from the community cares enough to dig into the work required.
ledermann commentedon Feb 26, 2018
One thing to notice: Without having the "multiple windows" feature, on macOS we can't use GitHub Desktop on multiple Spaces within Mission Control.
While working on multiple projects concurrently, I like to have a separate Space for every project (containing windows for Atom, Chrome, iTerm2 etc.). But because GitHub Desktop can live at only one Space at a time, I always have to move GitHub Desktop to the right Space for just doing a commit, which is a little bit annoying.
percyhanna commentedon Feb 27, 2018
I was going to recommend this old trick:
open -na "GitHub Desktop"But, it doesn't seem to work.
app.makeSingleInstancemust guard against that, unfortunately.TaylorDale commentedon Mar 19, 2018
Would love to see this, I had a feeling there would be an already open issue on it but couldn't find it quickly. Killing me currently having to drag it back and forth between my desktops and then switching repos on windows 10 when developing the front and backend simultaneously
walaura commentedon Mar 29, 2018
Argh! I made a dupe issue for this because I didn't look in the closed ones. 🙀 +1ing multiple window support. Would be ideal in a future release
andybak commentedon Jan 5, 2019
Sitting here with a bit repo downloading. I'd quite like to do some bloody work while I'm waiting!
j-f1 commentedon Jan 5, 2019
@andybak You can switch to another repo in the app while one is downloading.
111 remaining items
bhaller commentedon Feb 22, 2026
Yes; but that is stupid, and we can at least complain here about it.
MarinaM79 commentedon Feb 22, 2026
DataGreed commentedon Feb 22, 2026
so what? If its still open and not closed, then it's at least in the backlog
hewigovens commentedon Mar 12, 2026
Hey folks, I forked GitHub Desktop and added a minimal multi-window implementation on this branch. The patch ended up being smaller than I originally expected.
You can now click “Open Repository in New Window” from the repository list to open a separate window, or run
github repo/path. Each window uses the repository title, which also makes it easier to distinguish them from the Window menu in the menu bar.Video demo:
Screen.Recording.2026-03-11.at.09.54.09.mov
BTW, I also have a tip release signed with my Apple Developer account that I’ve been using myself and sharing with a few friends, so hopefully that helps validate the approach. You can try to install it with
brew install --cask hewigovens/tap/github-desktop-tipbhaller commentedon Mar 12, 2026
This seems great! Have you submitted it as a PR that is marked as fixing this issue? (I don't know what a "tip release" is, so apologies if I'm being dumb in asking this. :->)
hewigovens commentedon Mar 20, 2026
I haven't submitted pr yet, i'm testing in daily basis to make sure it doesn't have critical issue, if more people want it, maybe we can tag maintainers like @tidy-dev to check it?
hyeongnam-jang-sndk commentedon Apr 25, 2026
@hewigovens , Are you still testing to make sure it doesn't have an issue? Looks like you tested for one month or more. So I think you can raise PR.
If you want to push it more safely, You can add "Enable Multiple Windows Feature" checkbox in "Option".
hewigovens commentedon Apr 28, 2026
Yes, still testing and the fork expands the scope gradually, now the changes include:
github <repo-path>It feels unlikely being merged so i haven't raise the pr
Yorkemartin commentedon Jun 15, 2026
would love to see this in a PR and merged! @hewigovens
notxcain commentedon Jun 15, 2026
9 years has passed and I don't care anymore. Switched to
lazygit. Cheers everyone!hewigovens commentedon Jun 25, 2026
I opened PR #22382 for this finally, inspired by the recent added worktree feature.
Add multiple windows and repository tabs