Floating pane's docking status is not restored correctly after LoadState - by aroone

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 622495 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 11/17/2010 1:52:50 AM
Access Restriction Public


CDockablePane derived class doesn't restore its visibility after calling pApp->LoadState(...)
Sign in to post a comment.
Posted by Microsoft on 12/8/2010 at 2:56 PM

Thanks for the additional information. I will look into these issues as a separate bug.

Pat Brenner
Visual C++ Libraries Development
Posted by aroone on 12/8/2010 at 3:32 AM
Hello Pat,

Thanks for the reply and workaround - it works.

Still, LoadState(...) doesn't restore the state of docking panes correctly. To reproduce this:

Start VisualStudioDemo from samples folder
Float "Watch" pane
Dock "Output" to the "Watch" pane's right side
Dock "Dynamic Help" to the "Output" pane's right side
Select "View->Full Screen"
Exit full screen mode

what's wrong:
1) "Watch" pane lost its caption
2) Sizes of "Watch" and "Output" are not the same as they where before full screen mode
Posted by Microsoft on 12/7/2010 at 12:05 PM

Thanks for the report. This issue has been fixed in MFC for the next major release of Visual Studio. In the meantime, the workaround is to make sure that ShowDelayShowMiniFrames(TRUE) is called on the docking manager when exiting from full screen mode.

Pat Brenner
Visual C++ Libraries Development
Posted by Microsoft on 11/17/2010 at 6:51 PM
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 Microsoft on 11/17/2010 at 2:20 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)