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

MetroWindow can be closed while a modal dialog is shown #2409

Closed
pfattisc opened this issue Mar 8, 2016 · 2 comments
Closed

MetroWindow can be closed while a modal dialog is shown #2409

pfattisc opened this issue Mar 8, 2016 · 2 comments
Assignees
Milestone

Comments

@pfattisc
Copy link

pfattisc commented Mar 8, 2016

What steps will reproduce this issue?

While a modal dialog is shown the user can close the metrowindow using the contextmenu of the taskbar (right click on taskbar => close window).

Expected outcome

While a modal dialog is shown the MetroWindow shouldn't close in any case.

Environment

  • MahApps.Metro v1.2.4
  • Windows 7 x64
  • Visual Studio 2013
  • .NET Framework 4.5
@punker76
Copy link
Member

punker76 commented Mar 8, 2016

@pfattisc this is by design, cause dialogs in mahapps not modal, they are async... i'll take a look

@punker76 punker76 self-assigned this Mar 8, 2016
@pfattisc
Copy link
Author

pfattisc commented Mar 9, 2016

I think the overlay dialog is a modal dialog and therefore should prevent a close of the application.
The overlay does also prevent the user from using the window's control box (minimize, restore, close) so why should the user be able to circumvent this by using the taskbar?

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

No branches or pull requests

2 participants