Floating window rendering performance question

Docking/MDI for WPF Forum

Posted 8 years ago by Greg Shaffer
Version: 11.2.0552
Avatar

We recently upgraded from 11.1.545.0 to 11.2.552.0 and we're noticing a performance hit in our rendering.

We have a graphics intense control we place in a toolwindow.  When it's docked, the rendering is fluid, but when we have our window floating, the performance is choppy.  We did not notice this difference between floating/docked with the 11.1.545.0 version.

I know this is a hard question to answer because I haven't provided a sample application, etc. but, based on your knowledge of how things are implemented on your side, do you have any thoughts about what might cause this difference?

Thanks,

Greg

Comments (3)

Answer - Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Greg,

The only thing that comes to mind is that we now round the corners of the floating windows, as seen in Visual Studio 2010. You can disable this by including the following in your application resources:

xmlns:docking="http://schemas.actiprosoftware.com/winfx/xaml/docking" 
xmlns:themes="http://schemas.actiprosoftware.com/winfx/xaml/themes"

<Style TargetType="docking:RaftingWindow">
	<Setter Property="AllowsTransparency" Value="False" />
	<Setter Property="themes:ThemeProperties.CornerRadius" Value="0" />
</Style>

Unfortunately, if this does not solve your issue, then we would need a small sample project that we could debug/profile.


Actipro Software Support

Posted 8 years ago by Greg Shaffer
Avatar

The syle idea didn't work.

After tinkering a bit more on this... it's starting to look like it's related to having a nested docksite inside a floating toolwindow.  If I remove the nested docksite, then my rendering is more fluid... more fluid like it was with version 11.1.545.0 (where it was still a nested docksite).  Did anything change with the nesting recently?

We'll try to get a sample app made.

Thanks,

Greg

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Greg,

Nothing has changed that should affect performance, no.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.