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 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.
Created attachment 24971 [details]
Toggling the IsVisible on the ListView causes the layout to not render properly on iOS. It will toggle properly on Android.
Steps to Reproduce:
1) Open up the attached solution
2) Start up the simulator for iOS and click on the "Toggle ListView" multiple times
The ListView will display sometimes other times not at all, the button will also have a weird style on it as if the InvalidateLayout is not properly redrawing the layout. The ListView will sometimes not get hidden when it's supposed to be.
On the odd numbered clicks (1,3,5...), the ListView should display fully and push the button to the bottom. On the clicks that are even (2,4,6...), the ListView should collapse fully and the button should be moved back to the top.
Build Date & Hardware: Date and hardware of the build in which you first encountered the bug.
Visual Studio Enterprise 2017 15.4.0 Preview 3.0
Xamarin.Android SDK 220.127.116.11
Xamarin.iOS and Xamarin.Mac SDK 18.104.22.168
Additional Builds and Platforms:
Doesn't appear to happen in Android, only in iOS
Additional Information: Any other useful information.
I have a screen capture (gif) of it happening: https://gifyu.com/image/MmuB
The 2 clicks of the button worked as expected then it all goes downhill from there.
This appears to be an issue with the Windows simulator, as the simulator running on the Mac works as expected. I'll reassign this to get some feedback.
Paul, were you able to see it working correctly inside Apples simulator and failing inside the Remote simulator, or did you just try Apples simulator and assume it'd break in the windows sim?
It's unlikely to be an issue in the windows simulator based on the screencast, but if you confirmed that was actually the case we can look into it futher.
I can confirm what Paul was saying, when I loaded up the same solution on the Mac it works as expected. However, on the Windows simulator it doesn't behave as intended when connected to the same Mac as a remote Mac Agent.
Ah perfect, thanks! That definitely rules out a forms issue then! This sounds like a duplicate of 59720 so i'll mark it as such. We're still trying to see what the actual issue is there.
*** This bug has been marked as a duplicate of bug 59720 ***
The testcase was perfect, we have the issue fixed and verified. We'll ship the fix with a future release of the platform, I just don't know which release that will be as of yet.