From murdoch at stats.uwo.ca  Sat Mar 29 18:41:39 2008
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Sat, 29 Mar 2008 13:41:39 -0400
Subject: [Rd] cpu usage high with windows change dir / winDialogString
 (PR#11045)
In-Reply-To: <47EE7AA9.5030400@stats.uwo.ca>
References: <20080328160529.717BA282EFF8@mail.pubhealth.ku.dk>		<47EE690C.6070300@stats.uwo.ca>		<971536df0803290923t4c6ef40axc7176141f959a67f@mail.gmail.com>		<47EE6F27.6010706@stats.uwo.ca>	<8ed68eed0803291010x47e9aaa1y41d1b36d3a021e14@mail.gmail.com>
	<47EE7AA9.5030400@stats.uwo.ca>
Message-ID: <47EE7F53.3010207@stats.uwo.ca>

On 29/03/2008 1:21 PM, Duncan Murdoch wrote:
> On 29/03/2008 1:10 PM, Sean O'Riordain wrote:
>> Hi Duncan,
>>
>> I suspect that it's not the SHBrowseForFolder call as it seems fine
>> once the Browse button is pressed - the problem occurs *before* the
>> Browse button is pressed.
> 
> The Change Dir dialog in R 2.7.0 no longer uses the 
> winDialogString()-like dialog, so the problem will go away in that one 
> case, but any other user of the underlying code will still have the 
> problem.  It's because that function sets up a loop to poll for results. 
>   Doesn't really seem worth the trouble to fix.

... but it turned out to be not much trouble at all.  So, this will be 
fixed in 2.7.0.  Thanks for pointing this out.

Duncan Murdoch



[Rd] cpu usage high with windows change dir / winDialogString (PR#11045)
Duncan Murdoch