DockSiteLayoutSerializer rafting window minimized state not saved

Posted 5 months ago by Avatar rex hui

DockSiteLayoutSerializer saves a floating document state correct when it is maximized but it does not for minimized window.

I noticed the IsMaximized attribute for RaftingHost.

So IsMinimized attribute not implemented?

Comments (5)

Posted 4 months ago by Actipro Software Support - Cleveland, OH, USA

Hi Rex,

No, we don't appear to be tracking a minimized state at this time.  We will look into adding it.

Actipro Software Support
Posted 4 months ago by rex hui

Ok, thank you.

Information The latest build of this product (2018.1 build 0673) was released 1 month ago, which was before the next post in this thread.
Posted 29 days ago by rex hui

The minimized state is now saved but the location is not saved correctly. It is always set to -32000,-32000 so when restore the window is set to the top left corner. The window size is correct though.

Is this a bug?

Posted 28 days ago by Actipro Software Support - Cleveland, OH, USA

Hi Rex,

Thanks for letting us know.  It's odd that WPF is passing through those location coordinates even though the WindowState is still Normal when the LocationChanged event fires.  Anyhow, we have added an additional check for the next build to not update the location property (that we later serialize to the layout) if it's -32000,-32000.  That should resolve this.

Actipro Software Support
Posted 28 days ago by rex hui

thank you

Add a Comment

Please log in to a validated account to post comments.