TextArea reacts to pressed and does not react to cancel events

Bug #1205024 reported by Michał Sawicz
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Confirmed
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Triaged
Undecided
Cris Dywan

Bug Description

TextArea reacts to the "pressed" event, which means that as soon as you touch it it will activate, but it doesn't react to "cancel" event, that should deactivate the area.

Whenever you have a Flickable with a TextArea, thus, swiping or dragging often results in focusing the TextArea.

I would actually advocate reacting to "clicked" only when not active, but that's a design decision.

Michał Sawicz (saviq)
summary: - TextArea reacts to pressed and does not to canceled
+ TextArea reacts to pressed and does not react to cancel events
Leo Arias (elopio)
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

I can confirm this, and this is causing a lot of problems with the address-book-app.

Revision history for this message
Leo Arias (elopio) wrote :

This makes it really hard to swipe on the contact edit for of the address book, that has many text fields on the flickable and sometimes you can end up scrolling over one of the textfields that will eat the event.

Revision history for this message
Zsombor Egri (zsombi) wrote :

TextArea is focused only when you release your finger from above the input area. Never when pressed.

Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Christian Dywan (kalikiana)
status: Confirmed → Triaged
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.