You know it has to happen. I’m guessing you’re either a developer or designer if you’re reading this blog. So you’ve work on projects of your own. No matter how much you test and fix your application there is always another bug. You release the product, have a rousing ship party, and before you’ve had a chance to sleep off the champagne buzz one of your customers has filed a bug report.
Here’s a little cold November rain for all the Microsoft folks celebrating the release of VS 2008. Yeah, I’m talking to the Cider team. Guess what I found?
Toolbox Bug
Here’s the problem. Sometimes when switching from XAML view to WPF design view the toolbox doesn’t show any controls or elements.
Steps to reproduce
- Create a WPF application.
- Dock the Toolbox window so that is always visible.
- Add a new WPF Window file to project
- Click the Collapse Pane button.
- Switch to XAML view.
- Close the Window.
- Reopen the same Window file. You should be in XAML view.
- Switch to Design view. Click the ‘Resume loading the designer link’.
- You will see the designer but no controls are visible on the Toolbox.
My first instinct is to click the Window in the designer, to set focus on the Window designer. My thinking is that the IDE isn’t detecting that the Window is selected and therefore isn’t loading the correct sections in the toolbox. That doesn’t work however.
Here are a couple of stop-gap ways to get the toolbox in sync.
- Switch back to XAML and to Designer view
- The toolbox will refresh and show the controls if you close and reopen the Window file.
- The following will work occasionally: resize the designer window, use the zoom slider to zoom in/out.
Sigh. Guess I’ll have to go a report this on connect.microsoft.com.

I suppose this is only the first of a long list…
After two days working with Cider i stopped counting the times the editors asks me to click reload/view and xaml goes out of sync/ editor reports unexisting errors/…
BTW: Today the editor also crashed three times.
I’m seriously considering going back to plain xml editor…
Corrado
Corrado
I haven’t had any crashes yet in the VS IDE. Have you posted anything yet on your WPF VB bug you found?
Hi Buddies…
Even i am also facing these kind of problems…
even when you are using any third party controls, at that time also window (Design View) won’t get rendered in the designer.
Just try it out.
-Jigar
Hi..
I’ve seen that problem too.
but when i click on Window control to focus it, All controls in Toolbox are back
Hi everybody,
I was trying to add sqlconnection to my toolbox, I checked it from the list and the thing was expecting is to find under data tools.guess what, no tool was added and when I try show all tools, it shows up but disabled and also enormous number of tools is disabled. ANy idea how to bring these tools?
PS : I am working on Vista ultimate and VS 2008 pro.
there is one bug that i notice in vs 2008
it occurs when you change the name of the control/toolbox that has a code already (im in c#)…
the bug is that the code will not be edited anymore. it will stick to the code that you edit since before you change the name of the control/toolbox…
eventhough you change the design of your program and you will input errors in your program or you change the entire program…and when you click the ‘run’ button it will go back to the code and design since before you change the name of any toolbox/control…
after if you insert a control/toolbox change its name to the one you like to minimize this error
censored_22@yahoo.com
С Новым Годом Вас !
Wpf Wonderland » Blog Archive » Found my first bug in Visual Studio 2008 RTM
Вашему сайту ставлю +
–
biznesmlm.ru
Побег
Фильмы