Monday, October 24, 2005

DW8 file panel bug workaround

This has actually been a bug since DWMX, but it doesn't come up too often. Occasionally, a DW site will seem to get "out of whack". The file panel will open and close folders in a seemingly random fashion (well, not random, but not what you would expect either).

One way to correct this issue is the "brute force" approach. You simply delete the site and rebuild it. It gets the job done, but you have to set the whole site up again which may or may not be trivial.

The other way to fix this is to (gulp) edit the registry. Here is how you go about fixing it (Windows only, I'm afraid. I don't know the first thing about a Mac). These steps are for DW8, but they pretty much work with the last two versions as long as you can find the site keys.
  1. Close DW8
  2. Open the regedit application (start|run|type "regedit"|enter). That should open your registry file in the editor
  3. Back up the registry! I can't stress this strongly enough. If things go wrong, you want a copy of this thing that you can at least examine and at worst restore. You may also want to keep a bootable cd around just in case lightning strikes.
  4. In regedit, drill down to \HKEY_CURRENT_USER\Software\Macromedia\Common\8\Sites
  5. You now need to select the site number that is having problems. You will see numbered entries like -Site0, -Site1, etc. You can find your site by looking at the SiteName key under each site entry.
  6. Locate the values that start with "Local Expanded Dir " and ending with a number. There might be quite a number of them. Go ahead and delete all of them.
  7. Next, find a key called "Local Expanded Dirs". Double click the entry and change the value to "0" (zero).
  8. Close regedit.
The next time you open DW, all of the folders should be collapsed and begin responding correctly again.

2 comments:

  1. Thank you! Thank you! Thank you! That has happened to me on a number of sites over that years and has bugged me to death. Thanks for posting the fix.

    ReplyDelete
  2. Great tip - many thanks!

    Scott

    ReplyDelete