SourceTree v3.0.6 minimize and maximize problem
Asked by Kristijan Gugec:

Hi,

<br />

I have recently updated SourceTree to 3.0.6 and detected some strange behaviour occurs while minimizing the app.

<br />

Application is always started normally but if I minimize the app window, it is not possible to get it back. Then I am forced to close the app from taskbar or Task Manager and start it again.

<br />

I'm currently running Windows 10 Enterprise. Colleagues who updated SourceTree to 3.0.6. are experiencing the same problem.


Answers:
author: Kristijan Gugec
body: ### They fixed it a week ago in 3.0.9 {#toc-hId-1652288797}

### SourceTree **3.0.9** \[13 November 2018\] {#toc-hId--899868164}

#### Changes {#toc-hId-646428666}

* SRCTREE-6546 Support Email addresses as usernames for Bitbucket Server registration and accounts.
* **SRCTREE-6547 Fix being unable to re-open Sourcetree after minimizing**
* SRCTREE-6549 Fix Diff/Merge Tool configuration not being saved during restarts
* SRCTREE-6568 Prevent showing git credential manager prompts if there's already one visible
* SRCTREE-6571 Fix errors ith GitLab account creation and improve the labelling around Personal Access Tokens

comments: author: jsantosrico
body: Didn't work for me, I still have the same issue.


author: Renderking
body: Where do you get 3.0.9?

The official Download is still 3.0.8 and Source Tree itself is also not notify for an update.


author: Tiago Rodrigues
body: Just updated, still the same problem.


author: powerupmedia
body: 3.0.12 and still the same issue :(


author: p1zzaman
body: same here, got 3.0.12 and still got the issue


author: Rob_ICE
body: Same here, seems like such a basic functionality issue too, what the hell is going on lately I use this software at work and these random usability issues just make it a pain


author: Charles Greer
body: Yes. I have the latest version, 3.1.12, hoping the issue would be fixed. It is not. I was going to propose this be our front end for GIT for my company, but with this issue I must seek other solutions... On top of this it does not support versioning of a single file or blame. Those are core features for a modern VCS. Hope you get this issue fixed quick because I still like the front end...


author: Rob_ICE
body: I'm going to see if I can add a new issue for this as it is not fixed in 3.0.12


author: Rob_ICE
body: Have created a new issue for it here[3.0.12 issue post here\<\<](https://community.atlassian.com/t5/Sourcetree-questions/3-0-12-Unable-to-restore-Sourcetree-once-minimized-on-Windows-10/qaq-p/974121#M26996)


author: Jim Beale
body: 3.0.15 and still experiencing this issue.


author: syedsameerali
body: **Solution**

Tools\>Option\>General\>Repository settings\> Refresh when application is not in focus.

The bug is related to the repository window not being refreshed in the background, This puts the application in a busy state by clicking the task-bar and prevents the window from refocusing in a timely manner. The above solution seems to be working.

comments: author: ProMac
body: Solved , Thks


author: Matt Butler
body: Works for me, thanks [@syedsameerali](/t5/user/viewprofilepage/user-id/2189965)!


author: syedsameerali
body: [@Matt Butler](/t5/user/viewprofilepage/user-id/2078461) Regrettably it is not a full proof solution, something is still a little odd while clicking the show desktop button ( minimize all open windows ) on the task bar. Which causes all open application windows to loose focus. If you click the source tree app icon immediately after this, you will receive the 'beep' sound the first time you click and only on the second attempt at clicking, will it then focus the source tree app. A work around for this is to click on another open app's task bar icon first and then proceed with clicking the source tree app icon. This way you can avoid the beep, which, TBQH, is really irking me.


author: f1ashhimself
body: Thank you


author: p1zzaman
body: awesome works!


author: Bob Provencher
body: Still happens with the option enabled and disabled on 3.0.12.


author: Rob_ICE
body: Bob - I have created a new issue for it here as this one is apparently 'answered' and 'fixed' in 3.0.12... [\[3.0.12\] Unable to restore Sourcetree once minimized on Windows 10](https://community.atlassian.com/t5/Sourcetree-questions/3-0-12-Unable-to-restore-Sourcetree-once-minimized-on-Windows-10/qaq-p/974121?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_answer&utm_content=topic "[3.0.12] Unable to restore Sourcetree once minimized on Windows 10")


author: Bo Zheng
body: ur solution saved my days! Cheers!


author: jlewin
body: Also running into this same behavior on Version 3.0.6-beta-2193. Once SourceTree is minimized, clicking its taskbar button results in an audible Windows error ding and the application fails to be restored.

An annoying workaround exists though. I can press Alt-Space (assuming the SourceTree taskbar button has focus) to bring up the system context menu and choose Restore. I was previously closing and reopening and this saves a few moments but is still tedious

comments: author: Kristijan Gugec
body: [@jlewin](/t5/user/viewprofilepage/user-id/2114720) Wow, so it's not a bug, it's a feature :D


author: syedsameerali
body: Tools\>Option\>General\>Repository settings\> **Refresh when application is not in focus**

This does the trick.


author: Gaz
body: Thanks that refresh in the background thing works! :)


author: federicop
body: Good workaround [@syedsameerali](/t5/user/viewprofilepage/user-id/2189965), thanks!


author: Renderking
body: Thanks soo much Sameer!

That's really as saver for me as I ALWAYS minimize the Source Tree.

Makes me wonder how Atlassian could miss that?


author: Jose Vico
body: Did the job. Thanks. It was being a real pain in the butt having to listen to that horrible Windows shitty bell


author: youcef.kelanemer
body: Thanks for the help.


author: VaclavKaplan
body: Hi,

I have the same problem with SourceTree, I cannt Alt+Tab back into the SourceTree.

If i click on the icon in the Start Bar it makes some sound (maybe error sound?) If I am clicking fast the window will finaly pop up after a while.

Pls fix it.

Thx

comments: author: Kristijan Gugec
body: [@VaclavKaplan](/t5/user/viewprofilepage/user-id/1025833) I'm amazed by how you figured this out :)

Hope they will fix it soon.


author: jsantosrico
body: In my case, I use a dock with my laptop, and when I undock it, some apps like to maximise to the now inexistent second screen. Alt + space helps to get them back to my laptop screen.


author: Gordon Thompson
body: A quicker way to restore it is to click on the icon in the taskbar and press Ctrl + Win + Up arrow


author: federicop
body: Workaround: Tools\>Option\>General\>Repository settings\> **Refresh when application is not in focus**


author: Matt Butler
body: Same here with SourceTree v3.0.8 on Windows 10 Home 1809 17763.55.

Fast clicking also restores a stuck window, (after a lot of dinging sounds), so thanks to whoever figured that out!

One additional observation...

If I minimize by clicking the taskbar icon instead of the minimizer on the window then it restores without a problem. I've tried with single monitor, dual monitor, with / without high DPI, taskbars in default / custom positions, all with the same result.


author: perrstep
body: Same here. SourceTree 3.0.8 on Windows 10 version 1803 build 17134.345.

Clicking fast and alt-space restore work. I get the bell sound when clicking the taskbar icon too.

Interresting thing I found: When pressing Win+Tab, and then selecting the SourceTree window, will show the SourceTree window on the desktop for a fraction of a second but it will hide itself immediately with the bell sound. Seems like something sets the window state back to hidden when it should not.


author: David R. Cattley
body: Same problem here. Very annoying.


author: Resike
body: Still not fixed:

Windows 7

ST: [3.0.10-beta-2469.exe](https://bitbucket.org/atlassianlabs/sourcetree-betas/downloads/SourceTreeSetup-3.0.10-beta-2469.exe)


author: Tom Tanner
body: I know me too is not really good form, but atlassian - this is atrocious behaviour


author: jsantosrico
body: The "Refresh when not in focus" doesn't work for me. I click the icon and ALT + space / Restore to get it back. I'm on 3.0.8.2279 with Windows 10 with the latest October 18 update


author: bariserkus
body: Same problem here.

3.08 annd Windows 10 64 bit 1809.

I occurs all the time. Cannot use the program. Have to close and re-open...

comments: author: bariserkus
body: After applying the workound, it behaves better. However, problem still persists...


author: Gaz
body: Just to add some information to this bug you can't restore it using the menu that shows up when you right click on the preview (on the task bar icon). Although this menu looks the same as the one triggered by ALT+SPACE (which does work) it won't work as it throws the same error beep.


author: syedsameerali
body: Ditto,

**Windows specifications**

* Edition Windows 10 Pro
* Version 1803
* OS Build 17134.345

**Sourcetree specifications**

* Version 3.08


author: jakubholovsky
body: Also having this problem with SourceTree v3.0.8 on Windows 10 Pro


author: Giannis Koutsaftakis
body: Same here with SourceTree v3.0.8 on Windows 10 Pro Version 10.0.17134 Build 17134.


author: milos-vega-sw
body: Same here on Windows 8.1 Enterprise and Source Tree 3.0.6.

I hope this is fixed soon because it is very annoying.


author: federicop
body: Same problem with 3.0.5, 3.0.6 and 3.0.8 (windows 10 in all my pc)

I cannot win+tab, alt+tab, click taskbar icon, focus+click of the taskbar preview, focus from task manager.. nothing.

Sometime Sourcetree appears if i click quickly so many times the taskbar icon.


author: Cybermatica
body: Same problem here


author: Nicolas Clemeur
body: Exact same problem here (started with 3.0.? and still in 3.0.8). Good to find here some workaround (clicking fast, or alt-space restore,), but still a really annoying bug


author: ProMac
body: SourceTree 3.0.8.2279 + Windows 10 and same problem

I have this problem since the 3.0.6.


author: Ole Gunnar Borstad
body: Confirmed. I dont think I will upgrade SourceTree ever again, they just bring too many regression bugs


author: Joachim Michaelis
body: Confirmed multiple times with SourceTree 3.0.6 in Windows 10 (build 1803, 64-bit).


author: Frederic Lacerte
body: Same Here


Tags: windows