cpu usage high with windows change dir / winDialogString (PR#11045)
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