[SDK] cursor handle is cut off by keyboard and not functional

Bug #1450222 reported by Bill Filler
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Zoltan Balogh
Ubuntu UX
Fix Released
High
Jouni Helminen
ubuntu-ui-toolkit (Ubuntu RTM)
Fix Released
High
Cris Dywan

Bug Description

latest arale build
ui-toolkit version 1.2.1485+15.04.20150429-0ubuntu1

If there is a text field at the bottom of a page, directly above the keyboard you cannot drag the cursor handle to re-position because it's cut off by the keyboard window. Sometimes you can can drag it but it's very difficult as it's truncated.

The fix should be to place the cursor handles above the text field, not below, if there is not space to draw the handle below.

Steps to reproduce:
1) reboot
2) open messaging-app
3) drag up to create a new message
4) start typing in the send field at bottom
5) try to drag the handles to reposition the caret

Expected results:
handle easy to drag

Actual results:
handle very difficult to drag as it's cut off by

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :
Changed in canonical-devices-system-image:
importance: Undecided → High
assignee: nobody → Zoltan Balogh (bzoltan)
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Christian Dywan (kalikiana)
importance: Undecided → Critical
importance: Critical → High
Revision history for this message
Cris Dywan (kalikiana) wrote :

Is placing the handlers on top confirmed by design?

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Changed in ubuntu-ux:
status: New → Triaged
assignee: nobody → Jouni Helminen (jounihelminen)
importance: Undecided → High
summary: - cursor handle is cut off by keyboard and not functional
+ [SDK] cursor handle is cut off by keyboard and not functional
Revision history for this message
Zsombor Egri (zsombi) wrote :

The only way to solve this is to put the handler above the input field when OSK covers it. You cannot put the handler above the OSK, and OSK will always cover it.

However the handlers are ugly anyway, wether is above or below the text input :)

Revision history for this message
Jouni Helminen (jounihelminen) wrote :

Proposed solution:

Once handlers appear, make space under the textfield if it is too close to the bottom of the view and would result in handlers being clipped.

Changed in ubuntu-ux:
status: Triaged → Fix Committed
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Confirmed → In Progress
description: updated
Cris Dywan (kalikiana)
description: updated
Changed in canonical-devices-system-image:
milestone: none → ww46-2015
status: New → In Progress
Revision history for this message
Jouni Helminen (jounihelminen) wrote :

Revisited this, and after a discussion with Christian we would like to change the text handler visual so that the overlaying keyboard won't obscure it. I have attached a jpeg to illustrate

Changed in ubuntu-ux:
status: Fix Committed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Andrea Bernabei (faenil) wrote :

I'm not entirely sure this will fix it...

the new handle will still have most of its ("extended") touch area under the keyboard, so it will still be difficult to grab, plus the keyboard will still cut it if the view doesn't have any bottom margin.

Revision history for this message
Andrea Bernabei (faenil) wrote :

After talking to Jouni,
it seems the plan is also to make editable text components have a default padding around them to accomodate the text handler.

That would invalidate my comment above.

Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 1.3.1705+16.04.20151031-0ubuntu1

---------------
ubuntu-ui-toolkit (1.3.1705+16.04.20151031-0ubuntu1) xenial; urgency=medium

  [ CI Train Bot ]
  * Resync trunk. added: po/vi.po

  [ Christian Dywan ]
  * Smaller handlers, entirely draggable caret (LP: #1450222)

  [ Zsombor Egri ]
  * Switch and CheckBox fix when checked is not toggled when clicked()
    signal is emitted. (LP: #1510919)

 -- Zoltan Balogh <email address hidden> Sat, 31 Oct 2015 04:59:31 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntu-ux:
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Zoltan Balogh (bzoltan)
affects: ubuntu-ui-toolkit (Ubuntu) → ubuntu-ui-toolkit (Ubuntu RTM)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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