[SDK] cursor handle should not be visible if field is empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
Ubuntu UX |
Fix Released
|
Medium
|
Jouni Helminen | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Cris Dywan | ||
Vivid |
New
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On arale
ui-tookit version 1.2.1485+
The big blue cursor handle should not be visible if the text field is empty, as dragging does nothing. It should only be displayed if the field has text (or spaces) in it where dragging would make sense.
Steps to reproduce:
1) reboot phone
2) launch messaging-app
3) swipe up from bottom to create new messaage
Expected results:
- cursor should be blinking in field
- no text handle should be visible
Actual results:
- cursor is blinking in field
- big blue cursor handle is visible
NOTE, you can repeat this same thing by pressing the Search icon in the dash. The blue cursor appears even when nothing in paste buffer.
SOLUTION:
Don't show handler when tapping on an empty textfield. Long press textfield in order to access copy/paste
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 47 lines (+10/-0)3 files modifiedmodules/Ubuntu/Components/1.2/TextCursor.qml (+1/-0)
modules/Ubuntu/Components/1.3/TextCursor.qml (+1/-0)
tests/autopilot/ubuntuuitoolkit/tests/components/test_textinput.py (+8/-0)
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
assignee: | nobody → Zoltan Balogh (bzoltan) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Christian Dywan (kalikiana) |
importance: | Undecided → Critical |
importance: | Critical → High |
summary: |
- cursor handle should not be visible if field is empty + {SDK] cursor handle should not be visible if field is empty |
Changed in ubuntu-ux: | |
status: | New → Triaged |
assignee: | nobody → Jouni Helminen (jounihelminen) |
importance: | Undecided → Medium |
summary: |
- {SDK] cursor handle should not be visible if field is empty + [SDK] cursor handle should not be visible if field is empty |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
milestone: | none → ubuntu-15.04 |
Changed in canonical-devices-system-image: | |
milestone: | none → ww22-2015 |
Changed in canonical-devices-system-image: | |
status: | New → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
status: | New → Fix Released |
Changed in ubuntu-ux: | |
status: | Fix Committed → Fix Released |
It is no bug that the handler is visible in an empty text field. Tapping the handler opens the context menu and clipboard contents can be pasted.
I'm not sure if this should be special-cased for when the clipboard is in fact empty - this will need design input.