Bug 34246 - Changing Focus to another Entry does not switch Focus unless the Entry has been selected before
Summary: Changing Focus to another Entry does not switch Focus unless the Entry has be...
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.5.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-09-24 12:18 UTC by Jon Douglas [MSFT]
Modified: 2016-04-13 19:32 UTC (History)
3 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:


Attachments
Reproduction (162.65 KB, application/x-zip-compressed)
2015-09-24 12:18 UTC, Jon Douglas [MSFT]
Details


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.

Related Links:
Status:
RESOLVED FIXED

Description Jon Douglas [MSFT] 2015-09-24 12:18:07 UTC
Created attachment 13053 [details]
Reproduction

*Description

Calling .Focus on an Entry does not gain Focus unless the Entry has been manually selected/activated prior by the user(I.e. Making the Entry active).

*Scenario

Creating a dynamic form using a ListView with an Entry in each ViewCell

*Expected Results

When the user taps the "Next" button, it should go to the next .Focus Entry in order.

EX: Given a couple of Entry elements:

Entry 1 (Currently Selected - Hit Next) -> Entry 2 (Gains Focus)

*Actual Results

When the user taps the "Next" button, it does nothing unless the Entry has been manually activated prior.

EX: Given a couple of Entry elements:

Entry 1 (Currently Selected - Hit Next) -> Entry 2 (Does not gain focus as it has not been manually selected/activated before)

*Reproduction

Reproduction is attached with a minimal test case. This behavior is Android specific and does not seem to happen on iOS.

Tested on Android 5.0(Lollipop)

*Version Information

Xamarin.Forms 1.5.0.6446

Xamarin.Android 5.1.6.7

Xamarin 3.11.1443.0