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.
Check the sample project: https://www.dropbox.com/s/05ei9td117efo1m/sidemenubug.zip?dl=0
The bug is for iPad.
1. Start in portrait mode. You can close the sidemenu and then reopen it properly with the "Sidemenu Opener" button.
2. Rotate to landscape
3. Rotate back to portrait
BUG 1: ugly grey artifact on screen during rotation animation (Re: https://bugzilla.xamarin.com/show_bug.cgi?id=28351. It shows as resolved, but you can see it is not!)
BUG 2: it's not possible to open the master page anymore (current bugreport)
I've tried with twoway binding as well from within the XAML (you can see there's a command for it in the VM). I've also tried simply setting the masterdetailpage's master property's ispresented flag to true. Doesn't work anymore.
(Swipe gestures are disabled. In my app, I cannot use swipes as it collides with the presented mapview's swipe detection).
May be related to https://bugzilla.xamarin.com/show_bug.cgi?id=30353. Both bugs happen when you rotate a device with a MasterDetailPage.
Fixing them together should be less effort.
I agree, the root cause will probably be the same for both.
I've managed to do an ugly hack. If I re-enable IsGestureEnabled after going back to portrait mode, then open the sidemenu once with a gesture I disable IsGestureEnabled again. After that, setting IsPresented via any method starts working again! :)
Hi Gabor, when you are running on the iPad using the default settings of MasterDetailPage, and in Landscape mode, you can't google IsPresented, this is a design decision since the initial Forms version where he represent MDP as a SplitViewController on landscape.
That said, we introduced a way to be able to change this behaviour a little bit using , MasterBehavior property,
If you sent in your MasterPage
MasterBehavior = MasterBehavior.Popover;
Then you will be able to toggle the master on and off the page, but will not work as a split view but as a PopOver (like when we are in Portrait mode).
About the grey artifact on rotation, i will reopen the bug.
Can you please confirm if this helps you?
What do you mean exactly by "you can't google IsPresented"?
In landscape mode, I'm not really bothering with IsPresented, I'm fine with the default functionality whereas the sidemenu is always visible, that's fine! i only want to be able to show / hide the sidemenu in portrait mode.
The problem is, if you start the app in portrait, then go to landscape, then rotate back to portrait again -> you can't open the sidemenu anymore with the IsPresented flag (in portrait mode!)
Sorry, i wanted to say toggle, yes i understand the bug , we are fixing that.
Should be fixed in 1.5.0-pre1
I have checked this issue with X.F 1.5.0-pre1 and its working fine at my end.
Hence closing this issue.