-
Notifications
You must be signed in to change notification settings - Fork 321
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
Taskbar is still there in full screen mode entered from maximized window #2577
Comments
Hey @kingcean do you have a repro so we can take a look at the APIs that you are using? |
Yes. You can maximize the window first (by programming or by clicking/tapping the caption button), and then enter full screen to have a look. // var appWindow = ... The AppWindow instance of MainWindow.
var presenter = appWindow.Presenter as Microsoft.UI.Windowing.OverlappedPresenter;
presenter.Maximize();
appWindow.SetPresenter(Microsoft.UI.Windowing.AppWindowPresenterKind.FullScreen); |
This repros 100% if window is in maximized state before fullscreen presenter is set. Repro project: AppWindow seems to really unreliable and a continuous source of bugs. Would recommend increasing test suite coverage and engineering scrutiny on AppWindow classes. |
I can repro this with the WinUIEx Sample app. Just run the app, maximize window, then select the "Fullscreen" presenter in the presenter dropdown. My app restores to the non-maximized state when I do this, yet claims to be fullscreen. |
Yeah, this one should not have been able to slip through the automated tests. 😞 I've logged a task for the dev team and we'll be adding it to a servicing release as soon as we have a fix. MSFT dev team tracking: http://task.ms/39908320 |
I can still repro this on Windows App SDK 1.1.1. |
Still reproducible with Windows App SDK 1.1.4. |
Fixed - v1.2. |
Describe the bug
The taskbar is not covered if the window was maximized before entering full screen.
Steps to reproduce the bug
Expected behavior
The taskbar should disappear until the window closes or exits from full screen.
Screenshots
↑ Maximize window
↑ Then enter full screen (but you can still see the taskbar)
NuGet package version
1.1.0
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 21H2 (22000)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: