Bug 26588 - [WinPhone] Entry does not trigger numeric keyboard when password masking is enabled
Summary: [WinPhone] Entry does not trigger numeric keyboard when password masking is e...
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.1
Hardware: PC Windows
: Normal normal
Target Milestone: 1.4.0
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-01-30 04:22 UTC by bjornr.sioux
Modified: 2015-03-03 14:19 UTC (History)
7 users (show)

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


Attachments
Screenshot showing the result of the given code (19.45 KB, image/png)
2015-01-30 04:22 UTC, bjornr.sioux
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:
VERIFIED FIXED

Description bjornr.sioux 2015-01-30 04:22:09 UTC
Created attachment 9575 [details]
Screenshot showing the result of the given code

On Windows Phone, it seems there is an issue with Entry. When setting its keyboard type to Keyboard.Numeric and IsPassword to true, the regular keyboard is triggered, as opposed to the intended numeric one.

Works otherwise as expected on iOS as well as on Android.

Tested on:
- Xamarin.Forms 1.2.3 (stable) and 1.3.1 (stable)
- Windows Phone Silverlight 8.1
- Android 4.4 and 5.0
- iOS 8.1


Code to reproduce this issue:

public class App : Application
    {
        public App()
        {
            MainPage = new ContentPage
            {
                Content = new StackLayout
                {
                    VerticalOptions = LayoutOptions.Center,
                    Children = {
			new Label
                        {
				XAlign = TextAlignment.Center,
				Text = "Entry with Keyboard=Keyboard.Numeric and IsPassword=true"
			},
                        new Entry()
                        {
                            Placeholder = "Enter digits",
                            IsPassword = true,
                            Keyboard = Keyboard.Numeric
                        }
		}
            }
            };
        }
    }
Comment 1 Ram Chandra 2015-02-02 05:22:30 UTC
I have checked this issue and I am able to reproduce this issue.

Observation: I observed that when we set keyboard property of Entry control to Numeric and set IsPassword property to true, entry control does not shows the numeric keyword instead of it shows the alpha numeric keyboard. If I set IsPassword property to false, it shows the numeric keyboard.

I have checked the same on android and observed that the same is working fine on Android.

Screencast: http://www.screencast.com/t/BzSb8BEaA7

IDE logs: https://gist.githubusercontent.com/RamChBachkheti/fa046fefa43bf2179847/raw/gistfile1.txt

Please let me know if I can provide more info to this issue.

Environment Info:

Xamarin.Forms.1.3.2.6313-pre3

Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641
Installed Version: Professional
Xamarin   3.9.291.0 (9f3e552)
Xamarin.Android   4.20.0.34 (49a04b966feb40dfdba49d57ba16249b66d606a6)
Xamarin.iOS   8.6.1.0 (3b3ef438017c7ecf486defa9e01567a5f2b3cb2a)
Xamarin.iOS Unified Migration   1.0
Comment 2 Paul Hazlett 2015-02-10 14:36:01 UTC
This seems to also be impacting Android. I pulled down the git repo for xamarin-forms-samples and switched to the 1.3.3 branch (latest commit efb437d1)

I opened up the TipCalc project and updated all of the packages; so that means xforms 1.3.3.6323 and Android.support.v4 21.0.3.

Running the TipCalc project on my HTC EVO 3D (Android version 4.0.3) results in the default keyboard being displayed when any of the Entry fields are focused.


=== Xamarin Studio ===

Version 5.7.1 (build 17)
Installation UUID: 2ef9f102-8c9a-425a-aa7b-e14829020578
Runtime:
	Mono 3.12.0 ((detached/de2f33f)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000076

=== Apple Developer Tools ===

Xcode 6.1.1 (6611)
Build 6A2008a

=== Xamarin.Mac ===

Not Installed

=== Xamarin.iOS ===

Version: 8.6.1.20 (Indie Edition)
Hash: 3b3ef43
Branch: 
Build date: 2015-01-24 09:42:21-0500

=== Xamarin.Android ===

Version: 4.20.0.28 (Indie Edition)
Android SDK: /Users/phazlett/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0.3 (API level 15)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Build Information ===

Release ID: 507010017
Git revision: 0bc7d3550b6b088ac25b08dcf7bbe73bcc8658b3
Build date: 2015-02-03 19:43:29-05
Xamarin addins: f7b7d34419c9ec24501bfa7c658e80a6305613e0

=== Operating System ===

Mac OS X 10.10.1
Darwin Pauls-iMac.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 3 Jason Smith [MSFT] 2015-03-03 02:10:42 UTC
Should be fixed in 1.4.0-pre1
Comment 4 Parmendra Kumar 2015-03-03 12:05:49 UTC
I have checked this issue with Xamarin.Forms version 1.4.0.6336-pre1 and now its working fine at my end.

Hence I am closing this issue.