Adobe Dreamweaver Bug Causes the Find in Folder Feature to Select the Wrong Folder
For some reason I've been having problems with the Dreamweaver's Find in Folder feature. When browsing for a folder, Dreamweaver often selects the wrong one. I don't know if the issue is with my computer, Dreamweaver, or a combination of both. But I wanted to take a few minutes to talk about how I get around the bug in case you're having the same issues. For reference I'm currently using Dreamweaver CS4 on Windows Vista.
For the sake of the example, the folder structure for my imaginary website is as follows:

Figure 1. Example Folder Structure
Now to search for something in all the files under the "about" folder I would
- Open the Find and Replace dialog box
- Enter what I'm looking for in the Find field
- Under Find in, select the "Folder.." option
- Click the folder icon to the right of the Find in field
- In the Choose Search Folder window, locate and select the "about" folder (See Figure 2)
- Click Select
Normally I would click the "Find All" button but as shown in Figure 3, Dreamweaver didn't select the correct folder.

Figure 2. Selecting the About Folder

Figure 3. Incorrect Folder Selection
Well I could just type the proper folder name afterwards, but there's a quicker way which is less prone to errors. When selecting a folder, watch the "Select" reference in the Choose Search Folder window. (See Figure 4)

Figure 4. Select Indicator Showing Incorrect Folder
This shows the folder that Dreamweaver will select. So if the one needed isn't mentioned, just click one directory deeper into the folder structure if you can. Dreamweaver still selects the parent directory, but now I'm getting the "about" folder. (See Figure 5)

Figure 5. Select Indicator Showing Correct Folder
The weird thing about this bug is that it seems very inconsistent. Sometimes the parent directory is selected, other times Dreamweaver selects the folder I want.
2 Comments
I have this exact same problem when using my code on Windows7, and not found a fix so far. Anybody else?
Since writing the post, I've checked a few other computers which have Dreamweaver installed. One was the same Windows Vista and Dreamweaver CS4 combination. The other computer is running Windows XP and Dreamweaver CS3 (I think).
Both had the same Dreamweaver search bug. It's probably worth reporting the issue to Adobe (Bug Report Form).
Leave a Comment