[sdk] When should a text entry lose focus?
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:/
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) |
Changed in ubuntu-ux: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
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) |
Changed in ubuntu-ux: | |
status: | Triaged → In Progress |
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.