Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.
Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.
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.
Created attachment 9977 [details] Test Case **Overview:** The attached sample shows an issue when toggling the IsVisible property of some Entry controls inside a Grid row. **Steps to Reproduce:** 1. Run the attached sample on an iOS simulator. 2. Press the Toggle Visibility Button **Actual Results:** The "Username" entry disappears. The "Password" entry is still visible. Neither of the other Entry controls is visible and should be. **Expected Results:** The "Username" and "Password" Entry controls should disappear and two more, "New Password" and "Confirm Password", should appear in their place. **Build Date & Platform:** XF 1.3.4 and tested XF 1.3.5-pre1 XI 8.6.0.51
Correction to what should happen: When toggling the visibility, "Password", "New Password" and "Confirm Password" should be visible.
Created attachment 9978 [details] Test Case with StackLayout Added another Test Case that uses a StackLayout. The issue with the visibility only seems to happen with the StackLayout has a WidthRequest set. Remove the WidthRequest and you will see the Expected Results (correct).
I have checked this issue with the help of steps given in bug and able to reproduce the reported behaviour mention in bug description and in comment 2. Screencast : http://www.screencast.com/t/yZD47166VMGZ Ide Log : https://gist.github.com/Udham1/0c1c3870d333559306c6 System Log : https://gist.github.com/Udham1/32413cf8f2a86c7b8c28 iOS Designer Log : https://gist.github.com/Udham1/bcf7e2c33a884239126a Environment Info : Xamarin.Forms : 1.3.5.6333-pre1 === Xamarin Studio === Version 5.7.2 (build 7) Installation UUID: ce927b2a-2c07-44c5-b186-09cfdafba6dc Runtime: Mono 3.12.0 ((detached/b8f5055) GTK+ 2.24.23 (Raleigh theme) Package version: 312000077 === Apple Developer Tools === Xcode 6.1.1 (6611) Build 6A2008a === Xamarin.iOS === Version: 8.6.2.22 (Business Edition) Hash: 862702c Branch: Build date: 2015-02-18 15:19:23-0500 === Build Information === Release ID: 507020007 Git revision: dcf3f486177d3e625349b51a8f3be807e3fa7712 Build date: 2015-02-24 09:14:27-05 Xamarin addins: ea7c65bb7876e4a876ab365208e94acdf8f330ef === Operating System === Mac OS X 10.9.5 Darwin Xamarin76s-Mac-mini.local 13.4.0 Darwin Kernel Version 13.4.0 Sun Aug 17 19:50:11 PDT 2014 root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
This is not a issue. There's a problem in the code, as you are not binding the password IsVisible="{Binding IsLoginMode}" . if you add that it works as expected.
That's because the password entry is always visible so it doesn't require a binding. The other entry controls with bindings on the IsVisible properties do not display if they are not initially rendered.
Hi Rui, Can this bug be re-opened?
Ok, i understand the issue now.
Should be fixed in 1.4.1-pre1