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

Re: Possible bug: "Log Messages" flashing wierdly after clicking "show changes"

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 20 Jan 2010 20:17:47 +0100

On 19.01.2010 12:40, Dmitry wrote:
> Stefan wrote:
>> That's a known issue - the focus is 'restored' to the log dialog
>> about two seconds *after* TortoiseMerge (or the configured diff
>> tool) starts. This is a 'feature' of the progress dialog showing
>> the download of the two files to diff. Unfortunately, I haven't
>> found a way to prevent this or even found out why the progress
>> dialog behaves this way. If you have any ideas, please tell them!
> I've played with Spy++ for a while and noticed the following: "Log
> Messages" dialog receives WM_ACTIVATE each time TMerge is spawned to
> show changes. Sometimes the WM_ACTIVATE's parameter is WA_INACTIVE -
> then the dialog doesn't flash. Sometimes it is WA_ACTIVE - then is
> does flash. Do you have any idea why this difference occurs - why
> WM_ACTIVATE is sent with differenct parameter values? Also which code
> exactly is meant to restore the focus?

Well, it's the progress dialog that restores the focus, not some of our
code. And that's why I don't know how to fix this.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2440718
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-20 20:18:11 CET

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

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