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.
In a Navigation page, when the second page includes scrollview-->entries, if the back arrow is tapped while one of the entries has focus and the keyboard is open, an unhandled exception occurs saying that the disposed scrollviewrenderer cannot be accessed. This only happens while debgging with Visual Studio though. When not debugging, it works fine.
If you can upload a reproduction it would be appreciated. If this is occurring with the debugger only, then the issue might lie there.
Created attachment 21478 [details]
Pages related to the bug
You can find attached the pages I extracted and simplified for ease of inspecting the problem.
I changed the title of the bug because upon further investigation, I realized that the exception terminates the application even when not debugging.
In order to observe the bug, just click the fourth entry in the entry page and right after that, click the software navigate back button at the top of the screen while the numeric keyboard is open. Then you will be able to see the exception.
All entries have "Unfocused" event handlers. The only difference between the handler of the fourth entry and the others is that this handler modifies a label before calling scroll on the scrollview.
Please feel free to ask further details if necessary.
Using the provided code on an emulator and Galaxy S5, the crash is not occurring with the latest stable version of Forms. I am able to click the fourth entry and then the back button and there is no crash. As such, I'm going to mark this as not reproducible. If you're still experiencing the error and are using an up-to-date version of VS as well as one of the latest versions of Forms, please reopen this with a complete project and more information on your environment. Thanks.