Issue 161: Commit window too long to appear
http://bitbucket.org/tortoisehg/stable/issue/161/commit-window-too-long-to-appear
TK Soh / tksoh on Fri, 10 Apr 2009 08:06:41 +0200:
Comment:
The delay is mainly caused by retrieving the patches from the files. We can
defer the action after the window is display, much like the way changeset was
display in the changelog viewer. Here's my quick hack to test the concept. We
need to add progress bar & break up the diff updating process to avoid 'hangup':
{{{
--- a/hggtk/status.py Tue Mar 31 22:26:29 2009 -0500
+++ b/hggtk/status.py Fri Apr 10 13:58:02 2009 +0800
@@ -588,7 +588,9 @@
selection.select_path((0,))
files = [row[FM_PATH] for row in self.filemodel]
- self._show_diff_hunks(files)
+ def showdiff():
+ self._show_diff_hunks(files)
+ gobject.idle_add(showdiff)
self.filetree.show()
if self.mode == 'commit':
}}}
I feel that Qt switch should be done in all-or-nothing way. Mixing pygtk & qt
might leave a bad taste in some people's mouth.
--
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop