The taskbar remains visiable when entering fullscreen mode in windows 7
Open
@pomianowski is already working on this.
Since Apr 22, 2022.
bug
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I changed window style and topmost property for fullscreen senario,binding it to StateChanged event.
private void MainWindow_StateChanged(object sender, EventArgs e)
{
if (this.WindowState == WindowState.Maximized)
{
this.Visibility = Visibility.Collapsed;
this.Topmost = true;
this.WindowStyle = WindowStyle.None;
this.ResizeMode = ResizeMode.NoResize;
this.Visibility = Visibility.Visible;
}
else
{
this.Topmost = false;
this.WindowStyle = WindowStyle.SingleBorderWindow;
this.ResizeMode = ResizeMode.CanResize;
}
}
It works well in windows 10, windows 11 or windows 8.1 with WPF-UI library, while in windows 7(sp1) ,the taskbar cannot be hidden.I tried to remove WPF-UI and it behaves as expected.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.