It is possible to dock a CDockablePane to one that has already been closed - by TOnofre

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 585837 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 8/12/2010 10:08:31 AM
Access Restriction Public


If you have a floating pane and dock another pane to it so they are either side by side or top to bottom.  When you close the left(or top) pane the remaining pane resizes correctly which is great.  But if you take another pane and drag it over this floating pane, it is possible to dock it to a "ghost" of where the previous left(top) pane was.  Using the Smart docking mode, you get the rectangles for docking that you would expect if that pane was never closed, while also having the options to dock to the entire window like it should behave.
Sign in to post a comment.
Posted by Microsoft on 9/22/2010 at 1:20 PM
Hello Tracy,

Thanks for the report and the detailed steps to reproduce. This issue has been fixed in MFC for a future release of Visual Studio.

Pat Brenner
Visual C++ Libraries Development
Posted by TOnofre on 9/20/2010 at 8:30 AM
I was just looking for an update on this issue. Can we expect this to be something that will be fixed in a future release?
Thank you.
Posted by Microsoft on 8/17/2010 at 1:05 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by TOnofre on 8/16/2010 at 8:00 AM
I have tried to attach a few screen shots depicting the steps taken to reproduce this issue. I will try to also explain specifically to the screen shots as to what steps to take.
1. Starting with the Visual Studio Demo - Open in VS 2010 and run.
2. Click ok on the popup to allow any default settings.
3. Float the Properties and Class View windows and dock them so that the Class View is to the LEFT of Properties (as shown in "shot1-dockinglayout.jpg".
4. Use the X on the Class View pane to close the class view - "shot2-closeLeftPaneBefore.jpg" shows the X being clicked and "shot3-closeLeftPaneAfter.jpg" shows the Properties pane taking up the entire window.
5. Float the Watch pane - "shot4-floatPanetoDock.jpg".
6. Drag the Watch pane and hover over the left side of the Properties pane - you will see the smart docking highlight show up for the area where the ClassView pane USED to be docked - in this screen shot it would dock the watch view to the right of the class view window that is currently not visible - "shot5-hoverOverLeftSide.jpg".

NOTE: if you close the RIGHT side instead of the LEFT side pane - this issue does not occur.
Posted by Microsoft on 8/12/2010 at 10:06 PM
Thanks for reporting this issue. In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided.

Please give us a video file of this issue so that we can conduct further research.

It would be greatly appreciated if you could provide us with that information as quickly as possible. If we do not hear back from you within 7 days, we will close this issue.

Thanks again for your efforts and we look forward to hearing from you.

Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 8/12/2010 at 6:06 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(