PaneToggle Problem
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
I cant seem to get the PaneToggle to work with the latest source code nor with the Gallery App . It works if you start an app from, the compact template. But thats the only place I have gotten it work. I sent an email to the address listed on the site....
To Reproduce
I just cloned the repository and built it and ran the gallery executable
Expected behavior
when you click the pane toggle button, the hamburger menu should slide left or hide.
Screenshots
No response
OS version
Im on Windows 10 Pro (10.0.19045 Build 19045)
.NET version
I built the gallery application to net7.0-windows. All other targets were removed.
<TargetFramework>net7.0-windows</TargetFramework>
WPF-UI NuGet version
2.0.3.0
But I even used the source code and compiled a new dll, and made a new package. Then I took away the reference to the package and referenced the project directly. same behavior.
Additional context
In NavigationView.Base, in the OnToggleButtonClick virtual method, this is the code ......
#if DEBUG
System.Diagnostics.Debug.WriteLine("Toggle");
#endif
I changed it to...
#if DEBUG
System.Diagnostics.Debug.WriteLine("NavigationView.Base.OnToggleButtonClicked (DEBUG)");
#else
System.Diagnostics.Debug.WriteLine("NavigationView.Base.OnToggleButtonClicked (RELEASE)");
#endif
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Gallery application built for net7.0-windows, then compare its behavior with the compact template. Inspect NavigationView.Base and its OnToggleButtonClick method, including the debug output described in the report. Done means the PaneToggle button makes the hamburger menu slide left or hide in the Gallery application.
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
- 35/100