Titlebar, build 22000

Open
#1,155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp

Research direction

Start by reproducing the crash on a Windows 11 21H2 build 22000 VM with .NET 8 and the 0xFFFFFFFE input. Review the referenced WPF-UI pull request 1122 and the targeted approach in PowerToys pull request 33687, then verify that the titlebar no longer crashes on that environment.

Written by the indexing model from the issue text.

Description

bug
Describe the bug

On Win11 21h2 (build 22000), it looks like the code from https://github.com/lepoco/wpfui/pull/1122/files#diff-196b404f4db09632665ef546da6c8e57302b2f3e3d082eb4b5c295ae3482d94a doesn't quite fix the issue. When we released to the wild in 0.82, we started seeing win11 build 22000 failures.

I can reproduce it on a VM.

https://github.com/microsoft/PowerToys/pull/33687 has a bit more of a targeted hack to resolve the issue.

To Reproduce

Spin up a 21h2 VM and you'll see it fail if you pass in 0xFFFFFFFE

Expected behavior

No crash

Screenshots

No response

OS version

win11 build 22000 (21h2)

.NET version

.net 8

WPF-UI NuGet version

did not directly use a WPFUI nuget

Additional context

No response

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

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.

More from lepoco/wpfui

All issues in lepoco/wpfui

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.