Resizing ribbonwindow shows black background while dragging

Ribbon for WPF Forum

Posted 13 years ago by Arthur Damen
Version: 10.2.0533
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar
Hi,
I noticed that when I resize the actipro sample application (run sample browser from menu) and start to resize (make it larger) the window, i see a black background for some time until I stop dragging.

This is very anoying for customers.
How can i get rid of this?

Looks like the content/container of the window does not respond immediately on the resize of the window.

[Modified at 02/08/2011 02:27 AM]

Comments (8)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Arthur,

That is low-level WPF issue and is out of our control. Windows with more elements may show it a bit more than simpler windows since the WPF rendering engine is attempting to catch up with the resized window and render on it. Microsoft has a suggestion in this post where you can set the background color so that it's not black and matches something more along the lines of your theme:
https://connect.microsoft.com/WPF/feedback/ViewFeedback.aspx?FeedbackID=468295

[Modified at 02/11/2011 01:57 PM]


Actipro Software Support

Posted 13 years ago by Arthur Damen
Avatar
Wow, this MS bug was reported in 2009.
Until now there is nothing done about it....
Posted 13 years ago by Josh
Avatar
The link no longer works. Got a valid link?
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Try now.


Actipro Software Support

Posted 13 years ago by Josh
Avatar
The links works now, but seems the Microsoft page has removed it.
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I can see it ok. Make sure you log in with their account.


Actipro Software Support

Posted 13 years ago by Josh
Avatar
Odd, I logged in with my account and still can't view it.
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
The resulting "workaround" they give is:
Quote:
If you are referring to the black "seams" in the lower right corner of the WPF window while resizing: A workaround to make this less noticeable is to update your WPF application’s HWND WNDCLASSEX.hbrBackground field using SetWindowLong(...) to a different color HBRUSH. This value is unset by default which is why it looks Black.


Actipro Software Support

The latest build of this product (v24.1.1) 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.