Login dialog username could use some textinput hints to aid tester

Bug #1501509 reported by Nekhelesh Ramananthan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Community Testing
Fix Committed
Medium
Christopher Lee

Bug Description

The email-address textfield shown in the login dialog could use textinput property hints like being an email field the @ symbol and .com can be shown in the keyboard. Also email-address are nouns generally and don't usually start with Capitals.

Textfield [1] provides a property called "inputMethodHints" which allows for setting these hints.

The hints I would use for the email-address field are the following,
- Qt.ImhNoPredictiveText
- Qt.ImhEmailCharactersOnly

[1] https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.TextField/

Changed in ubuntu-community-testing:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Christopher Lee (veebers)
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

I pushed the changes into Pilot, but this needs to get into checkbox proper with your soo add-on Chris.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

I added inputMethodHints: Qt.ImhNoAutoUppercase | Qt.ImhEmailCharactersOnly | Qt.ImhNoPredictiveText to the Textfield.

Changed in ubuntu-community-testing:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.