Detected X,Y coordinates for touch event on text field is off

Bug #1384749 reported by Giorgio Venturi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Unassigned
Ubuntu UX
Fix Released
High
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Fix Released
High
Cris Dywan
ubuntu-ui-toolkit (Ubuntu RTM)
Fix Released
Undecided
Unassigned

Bug Description

Tapping on a word in a text input seems to select the word below, rather than the one I intended to select

The Y seems to be lower by approx. 1 GU

Reproduce by
- Go to messages and tap on message filed
- Enter 4 rows of content
- Tap on a word in the second row
- The word below is often selected

Related branches

description: updated
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
assignee: nobody → Christian Dywan (kalikiana)
importance: Undecided → Critical
Changed in ubuntu-ui-toolkit:
milestone: none → 11.07
tags: added: copy-paste
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Please land AFTER 10-30 build

tags: added: rtm14 touch-2014-11-06
summary: - Detected X,Y coordinates for touch event on text field is off
+ [TOPBLOCKER] Detected X,Y coordinates for touch event on text field is
+ off
Changed in ubuntu-ux:
status: Triaged → Fix Committed
Changed in ubuntu-ui-toolkit:
status: Confirmed → In Progress
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Christian Dywan (kalikiana)
Revision history for this message
Cris Dywan (kalikiana) wrote : Re: [TOPBLOCKER] Detected X,Y coordinates for touch event on text field is off

My further investigation suggests the coordinates are in fact correct, instances to the contrary can be explained by consistent offsets depending on where the event is measured from.

Revision history for this message
Cris Dywan (kalikiana) wrote :

(Still investigating the lack of event data)

Revision history for this message
Cris Dywan (kalikiana) wrote :

Mir bug 1389189 about incomplete event data.

kevin gunn (kgunn72)
no longer affects: unity-mir
no longer affects: unity-mir (Ubuntu)
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I am finding it very difficult to reproduce the problem on the latest rtm proposed on either krillin or mako. I can consistently select the word I want within a line, with multiple lines. I am testing in the messaging app send and the browser fields, and in the Quick Memo app

Revision history for this message
Giorgio Venturi (giorgio-venturi-deactivatedaccount) wrote : Re: [Bug 1384749] Re: [TOPBLOCKER] Detected X, Y coordinates for touch event on text field is off

Can we please reduce the priority of this bug? We will possibly need usability testing here, I'll speak to the research team on Monday and check their availability

> On 7 Nov 2014, at 17:34, Pat McGowan <email address hidden> wrote:
>
> I am finding it very difficult to reproduce the problem on the latest
> rtm proposed on either krillin or mako. I can consistently select the
> word I want within a line, with multiple lines. I am testing in the
> messaging app send and the browser fields, and in the Quick Memo app
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1384749
>
> Title:
> [TOPBLOCKER] Detected X,Y coordinates for touch event on text field is
> off
>
> Status in Ubuntu UI Toolkit:
> In Progress
> Status in Ubuntu UX bugs:
> Fix Committed
> Status in “ubuntu-ui-toolkit” package in Ubuntu:
> In Progress
>
> Bug description:
> Tapping on a word in a text input seems to select the word below,
> rather than the one I intended to select
>
> The Y seems to be lower by approx. 1 GU
>
> Reproduce by
> - Go to messages and tap on message filed
> - Enter 4 rows of content
> - Tap on a word in the second row
> - The word below is often selected
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1384749/+subscriptions

Changed in ubuntu-ux:
importance: Critical → Medium
importance: Medium → High
Revision history for this message
Olli Ries (ories) wrote : Re: [TOPBLOCKER] Detected X,Y coordinates for touch event on text field is off

reducing to High as per comment #6 and discussion on 11/7

Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Critical → High
Changed in ubuntu-ui-toolkit:
importance: Critical → High
Revision history for this message
Cris Dywan (kalikiana) wrote :

Olli, I already got a branch reviewed for this and it's targeting RTM. Should it be held off?

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

If this improves the function then yes lets land it
Can you explain the fix here?

Revision history for this message
Cris Dywan (kalikiana) wrote :

If you tap on a word and actually hit the area between the upper or lower border, the cursor sometimes ends up in the very beginning or end of the field. The fix addresses this by taking that spacing into account.

Olli Ries (ories)
summary: - [TOPBLOCKER] Detected X,Y coordinates for touch event on text field is
- off
+ Detected X,Y coordinates for touch event on text field is off
Zoltan Balogh (bzoltan)
no longer affects: ubuntu-ui-toolkit (Ubuntu)
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Christian Dywan (kalikiana)
importance: Undecided → High
status: New → In Progress
Zoltan Balogh (bzoltan)
no longer affects: ubuntu-ui-toolkit
Changed in canonical-devices-system-image:
importance: Undecided → High
milestone: none → ww03-2015
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 1.1.1298+15.04.20150109~rtm-0ubuntu1

---------------
ubuntu-ui-toolkit (1.1.1298+15.04.20150109~rtm-0ubuntu1) 14.09; urgency=low

  [ Christian Dywan ]
  * Take frameSpacing into account when location cursor (LP: #1384749)
 -- Ubuntu daily release <email address hidden> Fri, 09 Jan 2015 17:38:20 +0000

Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: New → Fix Released
Changed in canonical-devices-system-image:
status: Confirmed → Fix Released
Changed in ubuntu-ux:
status: Fix Committed → Fix Released
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: In Progress → Fix Released
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.