Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I have a NavigationPage, Also has a MasterDetailPage. I'll switch these sometimes use:
App.Current.MainPage = navigationPage or MasterDetailsPage.
But when I open the MasterDetailsPage. (there is also has a navigationPage inside it). and Navigate to other page. and return
to the first NavigationPage, and click Return button.
It can't go back, also the visual studio will output:
Error: Cannot save value from target back to source. BindingExpression: Path='IsPaneOpen' DataItem='Xamarin.Forms.Platform.UWP.MasterDetailControl'; target element is 'Windows.UI.Xaml.Controls.SplitView' (Name='SplitView'); target property is 'IsPaneOpen' (type 'Boolean').
And I must need to press Back button again, and it will work.
This Bug only appears when set the MasterDetailPage.MasterBehavior="Popover";
For this I add a sample attachment, I also add a screenshot attachment.
please download the screenshot first, you will understand the problem, I wrote message and steps on these screenshots.
Created attachment 16345 [details]
Sample for the navigate problem
Created attachment 16347 [details]
I just upload to "Microsoft.NETCore.UniversalWindowsPlatform" to "5.2.0" beta version for test, this problem solved. So I decide close it.
Don't sure somehow the problem still exists on "Microsoft.NETCore.UniversalWindowsPlatform" to "5.2.0"
I upload the new sample file. please download and check it.
Created attachment 16360 [details]
new version of can't navigate back sample.zip
In the other hand, That's not a BUG. you just need to make sure `this.IsPresented = false;` before you change the main page from master details page to other page.