[Calculator] Swipe to delete a calculation is hard

Bug #1329536 reported by Leo Arias on 2014-06-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Calculator App
High
Unassigned
Ubuntu UI Toolkit
Invalid
Undecided
Unassigned
Ubuntu UX
High
James Mulholland

Bug Description

The new ubuntu ui toolkit will remove the swipe to delete from right to left. So now the only way to delete an old calculation will be swiping from left to right.

This is hard to do, because there's a section on the left side of the calculator screen that's used to assign labels to the operations. If I start the swipe on that section nothing happens, so my first impression was that I can't delete the calculation swiping.

After playing more with the app, I found that the swipe works, but I have to start it either really close to the left edge or from 1/3 of the width of the screen.
The first option is hard to do because you might show the launcher instead. The second one is hard to discover because I'm not used to swipe things from the center.

It would be really nice if the app noticed that I am doing a swipe instead of a tap, and in that case it ignores the labels section sending the input directly to the list item in order to show the delete confirmation.

To reproduce:
1. Open the calculator
2. Enter 9 + 3 =
3. Swipe the screen to the top, in order to store the calculation.
4. Try to delete the calculation swiping from left to right.
Try starting close to the edge, not so close to the edge, and close to the center.

Related branches

lp:~elopio/ubuntu-calculator-app/swipe_to_delete
PS Jenkins bot: Approve (continuous-integration) on 2014-06-13
Mihir Soni: Approve on 2014-06-13
Christopher Lee (community): Approve (code review) on 2014-06-12
Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration) on 2014-06-12
Chris Gagnon (community): Approve on 2014-06-12
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-calculator-app at revision 282, scheduled for release in ubuntu-calculator-app, milestone 1.6

Changed in ubuntu-calculator-app:
status: New → Fix Committed
Leo Arias (elopio) wrote :

My branch on the calculator doesn't fix the issue. It just deals with it during the test.

Changed in ubuntu-calculator-app:
status: Fix Committed → New
Riccardo Padovani (rpadovani) wrote :

Hey Leo,
thanks for the report.

It's an issue with textfield and flickable that I noticed some weeks ago, and I talked about it with zsombi during the Malta Sprint.
Before QT5.x it works as we expected:
- If the textfield isn't focused, it pass the swype to the flickable under it.
- If the textfield is focused, with swype you can select some text

After QT5.x we can choose only one of two possibility: OR we ALWAYS pass the swype to the flickable OR we ALWAYS select some text.

I tried to find an hack, but until now I find nothing.

I add also ubuntu-ui-toolkit to the bug, hope they reintroduce expected behavior, but talking with zsombi seems improbable they do it.
I'll continue to look for a solution!

Also, this is the reason we disabled copy and paste from calculator: https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1267821/comments/6

Changed in ubuntu-calculator-app:
status: New → Triaged
importance: Undecided → High
Mike Nagle (mikenagle) on 2014-06-24
summary: - Swipe to delete a calculation is hard
+ [apps]Swipe to delete a calculation is hard
Changed in ubuntu-ux:
assignee: nobody → Benjamin Keyser (bjkeyser)
John Lea (johnlea) on 2014-07-21
summary: - [apps]Swipe to delete a calculation is hard
+ [Calculator] Swipe to delete a calculation is hard
Changed in ubuntu-ux:
assignee: Benjamin Keyser (bjkeyser) → Raul Varela (rvarela.ux)
importance: Undecided → High
Changed in ubuntu-calculator-app:
status: Triaged → New
Changed in ubuntu-ux:
status: New → Triaged
Zsombor Egri (zsombi) on 2014-08-11
Changed in ubuntu-ui-toolkit:
status: New → Invalid
Riccardo Padovani (rpadovani) wrote :

Due https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1365564 this becomes invalid, swipe is now easy to do

Changed in ubuntu-calculator-app:
status: New → Invalid
Changed in ubuntu-ux:
assignee: Raul Varela (rvarela.ux) → Giorgio Venturi (giorgio-venturi)
Changed in ubuntu-ux:
status: Triaged → Incomplete
Changed in ubuntu-ux:
assignee: Giorgio Venturi (giorgio-venturi) → James Mulholland (jamesjosephmulholland)
Changed in ubuntu-ux:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers