[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: TortoiseProc.exe Hangs on Initial startup

From: Terry Fisher <terry_at_tfisher.ca>
Date: Sun, 27 Jan 2013 09:45:25 -0800 (PST)

Apparently, it isn't sufficient to simply call CListCtrl::OnPaint(). CSVNStatusListCtrl::OnPaint() must call BeginPaint()/EndPaint() to validate the window and remove the WM_PAINT message from the message queue.

I have attached a diff file with changes that work consistently on my setup. When I use version of code with my changes, the dialog initializes 100% of the time, without my changes, it hangs almost every time I open the commit or modifications dialog.

It may be more correct to do the BeginPaint()/EndPaint() unconditionally instead of only in the case that m_bBusy and m_bEmpty are both false.

Sorry for the confusion,
Terry

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

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

Received on 2013-01-27 19:10:34 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.