Comment 2 for bug 1117840

Revision history for this message
Tobin Davis (gruemaster) wrote : Re: [Bug 1117840] Re: Initial startup can take a long time (+20s) due to the "Downloads" find routine.

On Fri, 2013-02-15 at 02:06 +0000, Roland Rüdenauer wrote:
> Image Writer searches almost any subdirectory of my home directory for the Downloads folder. Sure, this may take some time.
> The search should be restricted to only immediate subdirectories by replacting QDirIterator::Subdirectories with QDirIterator::NoIteratorFlags.
Not sure if this will work on XP or future versions of Windows.
XP: c:\Documents and Settings\<user>\My Documents\Downloads <-- two
layers deep here.
Win7: c:\users\<userid>\Downloads <--Works here.
Win8: Same.

I don't have a copy of vista off hand.
Minimum supported client
 Windows Vista

So again, won't support XP.

I will revisit this probably mid summer. Right now, XP still holds ~20%
of the install base (according to some of my statistic searches).

I could hard code it, but I hate hard coded paths in compiled code. I
have other solutions I will be looking into though, and I hope to
address this in the next month.


Tobin Davis

A formal parsing algorithm should not always be used.
  -- D. Gries