-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Bug] Popup with disabled IsLightDismissEnabled works as Topmost #4630
Labels
Comments
Workarounds:
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.With(new Win32PlatformOptions { OverlayPopups = true })
.With(new AvaloniaNativePlatformOptions() { OverlayPopups = true }) ; |
3 tasks
Apparently, the same bug can be reproduced on MacOS.
|
This was referenced Dec 5, 2021
Came across this issue and adding to this AppBuilder.Configure<App>()
.UsePlatformDetect()
// Windows
.With(new Win32PlatformOptions { OverlayPopups = true })
// Unix/Linux
.With(new X11PlatformOptions { OverlayPopups = true })
// Mac?
.With(new AvaloniaNativePlatformOptions { OverlayPopups = true }) Adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actual result:
When window is minimized, popup with StaysOpen enabled (or IsLightDismissEnabled = false in preview) keeps opened on top of another applications.
In other words, it works just like Topmost = true on Windows.
Expected result:
Popup is hidden with minimized window.
When window is opened back from minimized state, popup should be visible back (as it should with StaysOpen=true).
If window loses focus, popup shouldn't be on top of another windows (when Topmost=false, as it is by default).
Gif
Repro
AvaloniaApplication3.zip
The text was updated successfully, but these errors were encountered: