Windows 10 Tortoise Commit Window Hangs (and Resolution)

4,939 views
Skip to first unread message

Adam Hamilton

unread,
Aug 5, 2015, 3:03:04 AM8/5/15
to us...@tortoisesvn.tigris.org
Just encountered this issue on multiple dev machines that had been updated to Windows 10 from Windows 8. I wanted to let you know the error and the resolution we encountered in case it helps you, or in case you hear this error from others.

Our situation was that the commit dialog, and other dialogs that displayed file lists, would freeze between displaying the dialog and loading/populating the file list and would be unable to continue. A wait cursor would be displayed until we manually terminated the process.

After looking through previous posts, it seemed that a file icon handler was a likely culprit. With some research, we found that Windows 10, even when asked not to change default programs during install, still changes the default image viewer to it's new Windows Photo Viewer program. This of course changes the icon for image files to this program's icon. The icon handler for this program seems to behave in some unexpected way (perhaps it's own fault) and causes tortoise to freeze whenever it attempts to display an icon for an image file. Therefore all dialogs that included an image in the file list caused an unrecoverable hang.

For us, the solution was just to set a different program as the default program for opening image files (which is what we intended anyway, but the Windows 10 upgrade installer ignored this request). The problem was immediately resolved, although we do need to do this on each dev machine.

I'm not sure if this should or even could be fixed within tortoise, or if this fix needs to come from Microsoft since their Photo Viewer program seems to be responsible. Even if tortoise can't fix this, I hope this helps other users with the same tortoise issue on Windows 10 to resolve it.

We have already resolved this on our dev boxes, but if anyone needs more information from us about this I am happy to try to provide any answers I have or can work out.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3130214

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Stefan Küng

unread,
Aug 5, 2015, 1:25:02 PM8/5/15
to us...@tortoisesvn.tigris.org
That's very strange: I'm running Win10 here on multiple machines as
well, one with a clean install and one with an upgrade from Win8.1. I
don't see that problem on none of those machines. And I haven't changed
the default image program.

I think the problem you're seeing might be somewhere else.

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest interface to (Sub)version control
/_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3130434

Adam Hamilton

unread,
Aug 5, 2015, 3:48:24 PM8/5/15
to us...@tortoisesvn.tigris.org
Totally possible. We did see this on 10 out of 10 dev boxes, but it might require some additional variable that we happen to have in common since those dev boxes are all started as images of each other at some point in time. I can confirm that toggling the default image viewer program (and thereby the icon) onto / away from Windows Photo Viewer immediately causes / resolves the problem, so I'm 90% sure that the presence of this icon is the immediate cause of the hang. I can also confirm that commits with no image files included do not hang, while those with image files do hang 100% of the time. But I don't know of any way that I can be sure that some other variable doesn't need to be present for this icon to cause the hang, while it would be fine otherwise. If you happen to think of any variable that I could check that would be useful for you to know, by all means let me know and I'll try to report back.

If we are the only ones in the world with this problem, then it's probably just our problem, but wanted to report anyway on the chance that other people experience this. If its just a 1 in a million thing, at least maybe this can provide a Google result for people who happen to have the same variables so that they can mitigate.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3130486

Josh Gibbs

unread,
Feb 26, 2016, 1:02:01 AM2/26/16
to us...@tortoisesvn.tigris.org, Adam Hamilton
This sounds ver similar to the problem I've been experiencing since updating to the latest TSVN.

I have have Win10 on for a few months now and had no issue with TSVN until upgrading. I don't know which version I came from unfortunatley.

In my case it isn't hanging, but it sure feels like it is, so this may be the same thing.

Grabbing the window border and sizing doesn't work, leaving the original paint of the window there. Pressing enter or escape achieves their respective goals, and if I know the placement of where the buttons should be, clicking works too - if I don't know the location, clicking can press the wrong button as I've unfortunately had a couple of times.

Typing into the message box doesn't show, but the data goes in there.

And this only happens if the commit is done from the root folder.

In my case, changing the image viewer didn't solve the problem, but it sounds suspiciously like these problems could be related.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3162943

Adam Hamilton

unread,
Feb 26, 2016, 3:34:05 PM2/26/16
to us...@tortoisesvn.tigris.org
I've been having this issue again as well, but changing default programs has not helped me this time.

I'm actually not sure the cause, as I rebooted for a tortoise update and my PC did Windows updates at the same time. Possibly a Windows update is involved. I did also hear that a recent Win update is causing default programs to be reset repeatedly, which seems like it could be related.

However there is every chance that this is a new issue or at least a new cause of the same symptom. This new post might also indicate that other users are having this issue: http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3163035 . I have similar behavior to this where the client seems slow only if I haven't used it recently and is then fast on repeated uses.

I tracked this down the first time by seeing old posts about the same symptoms with a different cause - that person had unregistered the handler for a file type somehow in an invalid way. So it seems like SVN might be prone to hangs based around showing file type icons, with different causes being possible.

An interesting feature request might be the ability to disable these icons. This functionality isn't really necessary for me, and I understand that dealing with the OS here is probably responsible for the trickiness no matter how good the implementation, so maybe we could have a workaround of disabling this available as an option.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3163107

Ivan Zhakov

unread,
Feb 29, 2016, 4:05:49 AM2/29/16
to us...@tortoisesvn.tigris.org, jgi...@imailds.com, Adam Hamilton
On 26 February 2016 at 05:34, Josh Gibbs <jgi...@imailds.com> wrote:
> This sounds ver similar to the problem I've been experiencing since updating to the latest TSVN.
>
Could you try latest TortoiseSVN 1.9.x nightly build, there were some
fixes/changes in this area recently:
https://nightlybuilds.tortoisesvn.net/1.9.x/x64/full/
https://nightlybuilds.tortoisesvn.net/1.9.x/win32/full/


--
Ivan Zhakov

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3163532

Josh Gibbs

unread,
Feb 29, 2016, 6:22:19 AM2/29/16
to us...@tortoisesvn.tigris.org
Yes, this build appears to solve the problem I've been having.


> On 26 February 2016 at 05:34, Josh Gibbs <jgibbs at imailds dot com> wrote:
> > This sounds ver similar to the problem I've been experiencing since updating to the latest TSVN.
> >
> Could you try latest TortoiseSVN 1.9.x nightly build, there were some
> fixes/changes in this area recently:
> https://nightlybuilds.tortoisesvn.net/1.9.x/x64/full/
> https://nightlybuilds.tortoisesvn.net/1.9.x/win32/full/
>
>
> --
> Ivan Zhakov

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3163548

Ivan Zhakov

unread,
Feb 29, 2016, 7:50:29 AM2/29/16
to us...@tortoisesvn.tigris.org, jgi...@imailds.com
On 29 February 2016 at 14:22, Josh Gibbs <jgi...@imailds.com> wrote:
> Yes, this build appears to solve the problem I've been having.
>
Good to know! This fix will be released in next TortoiseSVN patch
release (1.9.4).

--
Ivan Zhakov

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3163553

Adam Hamilton

unread,
Mar 2, 2016, 3:19:06 PM3/2/16
to Ivan Zhakov, us...@tortoisesvn.tigris.org, jgi...@imailds.com
I still have the same behavior on the nightly from March 1.  About 30-seconds hang during the initial UI draw (with UI partly drawn) is still present in the commit Window.  I'm not sure if this is just something with my computer or with Tortoise but it seems to correlate with the latest update.

Stefan Küng

unread,
Mar 2, 2016, 4:05:12 PM3/2/16
to us...@tortoisesvn.tigris.org
On 02.03.2016 21:18, Adam Hamilton wrote:
> I still have the same behavior on the nightly from March 1. About
> 30-seconds hang during the initial UI draw (with UI partly drawn) is
> still present in the commit Window. I'm not sure if this is just
> something with my computer or with Tortoise but it seems to correlate
> with the latest update.

If it does not hang indefinitely, then that's a different issue - which
I haven't been able to figure out yet. But I'm on it - just not easy to
track down since after about 3-5 times showing the commit dialog, the
issue goes away. So every time I try and change the code I can't be sure
if that fixed the problem or just because I tried enough times...

Stefan

--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest interface to (Sub)version control
/_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3164070

b.p.t...@btinternet.com

unread,
Mar 23, 2018, 11:36:17 AM3/23/18
to TortoiseSVN
On my Windows 10 x64 dev machine TortoiseSVN 1.9.5 (x64) was hanging on the check-in dialog.

Inside the TosrtoiseSVN | Settings dialog I saw that .cpp and .h files were associated with the CodeWriter Windows store app. When I changed the association to EditPlus instead, the check-in dialog didn't hang any more.

The earlier posts about the associated app were on the right line. Could it be that TortoiseSVN can't get the icon for a Windows Store app like Photos or CodeWriter and hangs?

Brian THOMAS
Kutana Ltd

d.casp...@gmail.com

unread,
May 14, 2018, 11:08:26 AM5/14/18
to TortoiseSVN
Thanks, this solution worked perfectly for me

erika.do...@gmail.com

unread,
Jun 4, 2018, 10:53:07 AM6/4/18
to TortoiseSVN
This also worked for me, thank you!

viestur...@gmail.com

unread,
Jul 12, 2018, 10:41:23 AM7/12/18
to TortoiseSVN
Worked!

afer...@gmail.com

unread,
Oct 9, 2018, 1:59:10 PM10/9/18
to TortoiseSVN
Yes this was exactly my problem thank you so much.
Reply all
Reply to author
Forward
0 new messages