lepoco / lepoco/wpfui

RC2 Compact Template Exception

Open
#1,239 0 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

The RC2 Compact Navigation template throws an exception when navigating to the Data page:

System.Windows.Markup.XamlParseException: 'Must create DependencySource on same Thread as the DependencyObject.'

To Reproduce

Create app using RC2 Compact Navigation Template, build and run project. Click "Data" to navigate to Data page.

Expected behavior

App should navigate to Data page

Screenshots

No response

OS version

Win 11

.NET version

.NET 8.0

WPF-UI NuGet version

4.0.0-rc.2

Additional context

No response

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 exception in the RC2 Compact Navigation template on Windows 11 with .NET 8.0 and WPF-UI 4.0.0-rc.2, then trace the navigation path from the Data action to the Data page. Done means selecting Data navigates successfully without the XamlParseException.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.