[sdk] When should a text entry lose focus?

Bug #1259596 reported by Daniel d'Andrada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Invalid
Undecided
Unassigned
Ubuntu UX
Fix Committed
Wishlist
Femma

Bug Description

Options I can think of:

1 - As soon as the user lands his finger (touch down) outside the area of the focused text entry

Motivation: if the user touches outside the focused text entry it means he's no longer interested in it so unfocus it in order to make the virtual keyboard get ouf of the way, giving the user more space for whatever he's now up to.

2 - As soon as the user taps (ie, touch down & touch up over roughly the same item) outside the area of the focused text entry

Motivation: Sometimes, while filling out a text entry, you might want to peek at content currently out of sight and therefore scroll up or down a bit. E.g. text entries in a long web form where you might want to read some explanation above or below that text entry, or even the title tied to it might be out of sight so you might want to scroll up a bit to recall what that text entry is about. In such situations, unfocusing the text entry and therefore hiding the virtual keyboard might be disruptive.

Motivation 2: flicking up or down to scroll content is an interaction that doesn't change the state of the content itself, just like moving a mouse pointer around the screen. So having the text entry unfocused just because the content was scrolled would break that paradigm.

UX Fix:
Addressed in the spec: https://docs.google.com/document/d/1nFm8xiYhKXXuEO_IvMXoD0lASbYzYXva1BWMVanU3iw/edit#heading=h.308ynguose3e

Daniela Ferrai (dferrai)
Changed in ubuntu-ux:
assignee: nobody → Benjamin Keyser (bjkeyser)
summary: - When should a text entry lose focus?
+ [sdk] When should a text entry lose focus?
Changed in ubuntu-ux:
assignee: Benjamin Keyser (bjkeyser) → Jouni Helminen (jounihelminen)
John Lea (johnlea)
Changed in ubuntu-ux:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Zsombor Egri (zsombi) wrote :

Toolkit provides automatic focus loss on text entries when the user taps on a different control. All other focus losses must be implemented explicitly in the applications.

Changed in ubuntu-ui-toolkit:
status: New → Invalid
Changed in ubuntu-ux:
assignee: Jouni Helminen (jounihelminen) → nobody
Changed in ubuntu-ux:
assignee: nobody → Magdalena Mirowicz (magdalena-mirowicz)
Changed in ubuntu-ux:
assignee: Magdalena Mirowicz (magdalena-mirowicz) → Matthew Paul Thomas (mpt)
assignee: Matthew Paul Thomas (mpt) → Femma (femma)
Femma (femma)
Changed in ubuntu-ux:
status: Triaged → In Progress
Revision history for this message
Femma (femma) wrote :
description: updated
Changed in ubuntu-ux:
status: In Progress → 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.