On 09.09.2009 01:07, Steve Borho wrote: > Yuki and I both made changes on the same day for that problem. I > think mine were rebased on top of his. Neither fixed it entirely, > > There, I just pushed a fix for it. It's still a bit kludgy but for > most people it will just work. > > * user presses key in qnew entry window > * commit tool enters qnew mode and starts an async refresh (to only > show working diffs) > * Yuki added code here to recover focus to the qnew entry. I'm not > sure this is necessary, but is harmless if not. > * when repo.status() thread finishes, the tool refreshes the file list > and diff pane, leaving focus in the file list > * in commit:refresh_complete(), we check for qnew mode and reset the > focus back to the qnew entry and move the cursor to the end of the > text (Yuki's idea, which I neglected to do in my initial fix). > > The side-effect here is that the qnew entry always gets focus after a > refresh when you are in qnew mode. And if repo.status() takes a long > time, and the user moves the cursor somewhere, it will bounce back > when status completes.
I quick tested 25e7fa1f1ef4. I can now enter a name in the Qnew field. Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop