TextField onAccepted is fired twice when enter or return is pressed

Bug #1321680 reported by Victor Thompson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Shorts App
Confirmed
Undecided
Unassigned
Ubuntu UI Toolkit
Fix Released
Critical
Cris Dywan

Bug Description

Recent test failures on the CI Dashboard for the Shorts app [1] have been found to due to the TextField component's "accepted" singal firing twice when the Enter or Return key is pressed. An easy example of the behavior can be seen on a simple app [2].

[1] http://ci.ubuntu.com/smokeng/utopic/touch/mako/41:20140521:20140513.2/8131/shorts_app/
[2] http://paste.ubuntu.com/7496653/

Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
assignee: nobody → Zsombor Egri (zsombi)
milestone: none → june-2014
importance: Undecided → Critical
Changed in ubuntu-rssreader-app:
status: New → Confirmed
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
assignee: Zsombor Egri (zsombi) → Christian Dywan (kalikiana)
milestone: june-2014 → july-2014
Revision history for this message
Cris Dywan (kalikiana) wrote :

Can't reproduce it on the desktop - where was it tested?

Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
status: New → Incomplete
Revision history for this message
Victor Thompson (vthompson) wrote :

This was failing on the device and on the desktop (Utopic and Trusty) in May. It seems like (from limited tasting) that this is now fixed in Utopic... but still broken in Trusty.

You could test in Trusty to verify the bug.

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

The UITK isn't backported to Trusty, you'll have to use the PPA.

Changed in ubuntu-ui-toolkit:
status: Incomplete → 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.