PresentationFramework.Fluent Intermittent Incorrect Lines/Border Rendering
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
### Description
When testing the latest .NET 9 preview and the WPF Fluent themes, I get an odd rendering bug that only occurs so far on my laptop. In dark mode on Windows 11, when activating the themes in WPF there is a white/light border around the contents of the window (excluding the titlebar).
### Reproduction Steps
I am not sure what the steps to reproduce it as it seems dependent on the hardware. It happens in vanilla project setups and I cannot reproduce it on my Desktop which has an Nvidia GPU. The laptop has integrated Intel graphics and is set to 100% scaling, rendering it 720p resolution.
### Expected behavior
Window rendering without any border artefacts.
### Actual behavior
If I resize the window to make it smaller and then larger again it re-renders that area fine, changing to maximised also removes the error. Any attempts to screenshot the error result in it not appearing in the screenshot. If I minimise the window it does not correct the issue, only when the window is resized in some manner.
It occurs for all new window instances.
### Regression?
I've not tried previous versions to know if it was an issue.
### Known Workarounds
Maximise the screen to cause a full window re-render. Resizing the window also prevents it happening on new areas shown. If you reduce the size of the window and then increase it's size it clears the white border around the content.
### Impact
_No response_
### Configuration
.NET 9 Preview 6
Windows 11 - Version 10.0.22621 Build 22621
x64
If it helps the laptop is a Dell XPS.
### Other information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.