You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using dialog.Show(owner) on owner with WindowState.Minimized the dialog will appear, however owner can be restored through task bar click (not through alt-tab) and interacted with freely which is unexpected.
To Reproduce
Create and dialog.Show(owner) on owner in minimized state - in my use case it manifested when trying to implement an "unsaved changes" warning (something like this):
Describe the bug
When using
dialog.Show(owner)
on owner withWindowState.Minimized
the dialog will appear, however owner can be restored through task bar click (not through alt-tab) and interacted with freely which is unexpected.To Reproduce
Create and
dialog.Show(owner)
on owner in minimized state - in my use case it manifested when trying to implement an "unsaved changes" warning (something like this):With this code I minimize the main window and attempt to close it through task bar or by turning off the system to open the dialog.
While dialog is shown owner can be restored with taskbar click and freely used, disregarding the dialog.
Expected behavior
Owner window should remain locked as long as any OwnedWindows exist, regardless of when they appeared.
My current workaround is to force owner back into normal/fullsrceen state (that I have to keep track of) before any dialog is shown.
Avalonia version
11.2.4
OS
Windows
Additional context
System: Windows 10, 19045.5371
Theme: Fluent theme
The text was updated successfully, but these errors were encountered: