wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

NavigationView crash

Open Porterbg opened this issue 8 months ago • 2 comments

Describe the bug

System.Windows.Markup.XamlParseException: ''Set property 'System.Windows.Media.SolidColorBrush.Color' threw an exception.' Line number '200' and line position '26'.' InvalidOperationException: '#0F000000' is not a valid value for property 'Color'.

To Reproduce

Start sample app In the auto suggest type and select NavigationView Note: It will not crash if you manually go to Navigation->NavigationView from navigation pane Also crashes in apps using preview 8 and does not crash when using preview 7

Expected behavior

Should not crash

Screenshots

No response

OS version

Windows 10

.NET version

.net 6

WPF-UI NuGet version

3.0.0-preview.8

Additional context

No response

Porterbg avatar Oct 24 '23 10:10 Porterbg

aff99851

https://github.com/lepoco/wpfui/blob/a58feed8d00f230a95f647cb14054818a8ca4a6d/src/Wpf.Ui/Controls/NavigationView/NavigationViewTop.xaml#L200

wfjsw avatar Nov 03 '23 03:11 wfjsw

PR to fix this issue: https://github.com/lepoco/wpfui/pull/839

niels9001 avatar Nov 23 '23 10:11 niels9001