Search

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

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 622495
Opened: 11/17/2010 1:52:50 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
CDockablePane derived class doesn't restore its visibility after calling pApp->LoadState(...)
Details (expand)

Visual Studio/Silverlight/Tooling version

Visual Studio 2010

What category (if any) best represents this feedback?

Reliability

Steps to reproduce

Open VisualStudioDemo project from VS2010 Samples folder
Compile and Run
Undock "Output" pane and make it floating
Float "Watch" pane
Dock "Dynamic help" to the right of floating "Watch" pane
Press View->Full Screen
Exit fullscreen mode

Product Language

English

Operating System

Windows Vista

Operating System Language

English (US)

Actual results

"Output" pane is not visible although m_wndOutputView.IsVisible() is TRUE
"Watch" pane is not visible although m_m_wndWatchBar.IsVisible() is TRUE
"Dynamic help" pane is not visible although m_wndDynamicHelpView.IsVisible() is TRUE

Expected results

Dockable panes should be restored to previous floating/docking and visibility state
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 12/8/2010 at 2:56 PM
Hello,

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
Hello,

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)
Sign in to post a workaround.