Black screen issue in 11.1.545.0 ver in a particular case

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 12 years ago by Balaram Barange
Version: 11.2.0550
Avatar
Hi,

On launching a particular dialog - we are sometimes (6 out of 10 times) seeing a black screen with build # 11.1.545.0 - however same is not the case with build # 10.1.523.0

The real problem was that we were getting the black screen on this particular dialog very frequently so we applied a fix that is working fine on build # 10.1.523.0 but not on # 11.1.545.0 - the fix was to set height and width to 0 while hiding the dialog and set them again while showing like:

public void ShowModalDialog()
{
    this.Width = 780;
    this.Height = 710;
    this.ShowDialog();
}

void HideWindow()
{
    this.Height = 0;
    this.Width = 0;
    this.Hide();
}
The xaml attributes that we are setting are:
Height="710" Width="780" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" ShowInTaskbar="False" Closing="winOptions_Closing" Background="{DynamicResource windowBackground}" IsMaximizeButtonVisible="False" IsMinimizeButtonVisible="False"

Please let know what has changed in new build in this regard - and what can be done to fix this issue.

Thanks in advance,
Bala

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Bala,

The only time we've ever heard of black screen issues in WPF is one of these two cases:

1) A video card issue, generally resolved by updating the card's drivers to the latest.

2) An out of memory issue.

What operating system do you run and what is the base class you are using for your window (RibbonWindow or GlassWindow)?

Are you able to reproduce this issue in a sample that you could email to our support?


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.