-
Notifications
You must be signed in to change notification settings - Fork 674
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
Is there a way to open the app in full screen without a taskbar with WinUI 3 #6596
Comments
@codendone @marb2000 @MikeHillberg any of you know the correct way to do this in Winui3? |
With the release of MAUI and now Visual Studio 17.3.0 I still see this behaviour. Is there any update on why this doesn't work or if there is a correct way to approach this with WinUI3? |
You can set FullScreen with |
Thanks, that does almost work! ....
The Window bar is weirdly half cut off though: |
I cannot reproduce this on my configuration (Windows App SDK 1.1.0, Windows 10 21H1) |
Had the same issue, but the following solution works for me:
|
I've created a sample repo here. Can you please test this on your machine and compare the results. I'm running Win 11 21H2. |
you need to hide the titlebar |
Yes I have done that in the sample here. Still the TitleBar is half visible on Win 11 21H2. Can you see different behaviour when running the sample? |
Does anyone have a working sample on Win 11 21H2 that runs TopMost full screen? |
@FrogsLegs Taking the code from |
net7.0rc-1 (Only tested with MAUI) Windows
Android
(Edit MainPage.xml if you are still not full screen in windows)
|
For WinUI 3 App you can use this code App.MainWindow.ExtendsContentIntoTitleBar = true; private Microsoft.UI.Windowing.AppWindow GetAppWindowForCurrentWindow() This will help you |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Closing this issue as it appears to have had multiple solutions presented and has had no activity in 10 months. |
This issue somehow gets a new way to solve in #9674 😄 |
Describe the bug
any solution to open the app in full screen without a taskbar. (for now we are setting taskbar settings manually (hide))disable / hide window buttons ( minimize , maximize , close buttons).
![App FullScreen Issue](https://user-images.githubusercontent.com/97082088/149330154-19ff59ca-864f-4124-9b56-edc425bd5171.JPG)
I have tried to open the app in fullscreen by ApplicationViewWindowingMode.FullScreen but this code is not supported by the application.
Steps to reproduce the bug
Just Run App default screen showing
Expected behavior
open the app in fullscreen without a taskbar
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)
Windows app type
Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
No response
The text was updated successfully, but these errors were encountered: