VS 2010; Repro steps:
- Create a new Django project.
- Create a new folder at the root of the project.
- Right-click on the folder, Add ->New Item -> Empty Python File
At this point, Solution Explorer window flickers as file is added, and the folder is not expanded despite the new item being there.
- Expand the folder and observe the item inside.
- Repeat step #3.
Solution Explorer flickers again, and the expanded folder is collapsed.
This actually happens to all folders in the project, no matter where the item is added to. It does not repro for regular projects, only for Django.