Materialdesigninxamltoolkit: Popupbox content showing even if the container is hidden

Created on 16 Mar 2016  路  3Comments  路  Source: MaterialDesignInXAML/MaterialDesignInXamlToolkit

I have a popubox in the mainwindow, when the window is minimized to tray the popup box is showing in the top left of the screen on hover even over another application.

1
2

Most helpful comment

image

I'm working on a fix for this.

All 3 comments

I have the same problem

I tested a bit popupBox-dialoghost that has a popupBox for content. The problem seems fixed, but the problem comes back when there is a delay before the popupbox is shown and in the meantime the main window is not the activated window. I tried to debug it, the problem seems to come from PopupEx.

var hwndSource = (PresentationSource.FromVisual(this.Child)) as HwndSource;
returns null when the popupBox is shown and the mainwindow isn't the activated window.

image

I'm working on a fix for this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheSylence picture TheSylence  路  12Comments

zirius666 picture zirius666  路  12Comments

wongjiahau picture wongjiahau  路  17Comments

darturdotnetdeveloper picture darturdotnetdeveloper  路  11Comments

StephanBis picture StephanBis  路  16Comments