textfields capture vertical swipes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Cris Dywan |
Bug Description
When you try to swipe a page vertically to make the bottom or top visible, if you start the swipe with your finger over a text field, nothing will happen.
This is confusing, as for a user there seems to be no good reason for the swipe to have failed. He might try it again starting from the same place with the same result. Then he might try to start the swipe from a different point, and it will work. It won't be clear that it failed only when the finger was over the textfield.
And as far as I understand, this shouldn't be the case. The textfield will always have a single line of text, so you will never need to do a vertical swipe inside the component. This is different from a TextArea that might have more than one line, and then a vertical swipe starting on the text area will result on a change inside the component, so the user will understand that he needs to swipe somewhere else to make a different part of the page visible.
Related branches
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 32 lines (+3/-4)1 file modifiedsrc/Ubuntu/Components/1.3/TextField.qml (+3/-4)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Christian Dywan (kalikiana) |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit: | |
milestone: | none → 10.24 |
milestone: | 10.24 → 11.07 |
Changed in ubuntu-ui-toolkit: | |
importance: | Critical → High |
milestone: | 11.07 → 11.21 |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Christian Dywan (kalikiana) |
importance: | Undecided → High |
status: | New → Confirmed |
no longer affects: | ubuntu-ui-toolkit |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → High |
milestone: | none → 12 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
<elopio> zsombi: so the question is: do text fields capture vertical swipes? and if so, why?
<zsombi> elopio: there is the Flickable inside the TextField, and that captures it :(
<elopio> zsombi: why is there a vertical flickable inside textfield, if it's never going to need vertical flicking? or is it that the flickable for horizontal swiping captures also the vertical movements?
<zsombi> elopio: checking if we can force Flickable to take only horizontal swip[es
<zsombi> elopio: unfortunately we cannot control that :(
<zsombi> elopio: and we need a horizontal swipe there...
-*- zsombi eod
<elopio> zsombi: I thought flickableDirection was for that.
<elopio> oh, you are gone. I will report a bug because this affects the UX. I find it weird that swipes don't work on text fields. I guess it will take some time to fix it though.
<zsombi> elopio: arghhhh!!! my eyes do not see anymore...
<elopio> zsombi: don't worry, go and get some rest :) This can wait until tomorrow.
<zsombi> elopio: that should do the job!
<zsombi> elopio: kewl...