lepoco / lepoco/wpfui

Transparent Screen in Win11 + .NET 7

Open
#854 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

In a new project using .NET 7, the entire screen appears transparent. Although nothing is visible, you can still interact with the buttons defined in the window.
image

To Reproduce

Create a new application WPF application and install latest WPF UI 3.0.0-preview.4

Expected behavior

It should show the default Home,Data and Setting pages

Screenshots

image

OS version

OS Name: Microsoft Windows 11 Pro
Version: 10.0.21996 Build 21996
System Model: HP EliteBook 840 G7 Notebook PC

.NET version

.NET 7

WPF-UI NuGet version

3.0.0-preview.4

Additional context

I have created other applications using WPF UI; however, those applications also don't work, that works in win10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the transparent-window behavior in a new WPF application with WPF UI 3.0.0-preview.4 on Windows 11 and .NET 7, then compare it with Windows 10. Done means the default Home, Data, and Setting pages are visible and interactive as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.