Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window Owner isn't set #9

Open
dukedvl opened this issue Jul 26, 2018 · 0 comments
Open

Window Owner isn't set #9

dukedvl opened this issue Jul 26, 2018 · 0 comments

Comments

@dukedvl
Copy link

dukedvl commented Jul 26, 2018

when creating a new "NotificationsOverlayWindow", in the NotificationManager, the window's owner is unset..

Creating toast notifications using the method below, will always leave the ToastWindow open as the application closes.

var notification= new NotificationContent(){ .. };
manager.Show(notification);

_window.Owner being set inside the NotificationManager allows normal Dispose/Close methods to end the lifecycle with the program, as WPF defaults to only closing on "LastWindowClosed".. this will confuse a lot of consumers of the NuGet Pkg...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant