Calculator - Bottom row buttons difficult to select in portrait mode

Bug #1444564 reported by Neil McPhail
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Ubuntu Calculator App
Fix Released
High
Bartosz Kosiorek

Bug Description

Calculator v 2.0.155 on krillin running RTM v 20

When in portrait mode, the bottom row of buttons (. 0 () =) are difficult to click as the "Favourite" drag bar becomes selected instead. I think there needs to be extra padding at the bottom to prevent this from happening.

What should happen: pressing '0', '.', '()' or '=' should register a button press.

What actually happens: The button is only recognised if the top few pixels of the buttons are pressed.

Solution:
DirectionalDragArea - new component which should be exposed with ticket:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1435805

Related branches

Revision history for this message
Neil McPhail (njmcphail) wrote :

This seems to be less of a problem in landscape mode on my device, but can still happen.

Revision history for this message
Bruno Javier Blasco Smaranda (brunch875) wrote :

It's just as hard to select the bottom in landscape mode.

Changed in ubuntu-calculator-app:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Michael Zanetti (mzanetti) wrote :

FWIW, there is a DirectionalDragArea in unity8 which is in the process to be transformed to an SDK component. That would pass clicks through and only intercept drags from the bottom. This is however still a bit down the road, so depending on how bad this bug is it could make sense to come up with a temporary workaround.

description: updated
Revision history for this message
Neil McPhail (njmcphail) wrote :

I'm not sure this bug should have had its description updated to mark a solution. The first comment on the DirectionalDragArea bug states that the browser app has already implemented a version of this component. The browser bottom-edge obscures the pixels on the same rows as the hint, in a similar way to the Calculator app. We probably need to see a working version of the component before marking this as a solution.

Revision history for this message
Michael Zanetti (mzanetti) wrote :

@njmcphail: You are right, the browser seems to be broken too in this regard, despite using the DirectionalDragArea. However, for a working implementation of the DirectionalDragArea, see unity. The DirectionalDragArea is used for the left and right edges.

Revision history for this message
Olivier Tilloy (osomon) wrote :

For webbrowser-app, this is already being tracked by a separate bug report: bug #1474533.

no longer affects: webbrowser-app
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Removing unity too as it is working fine there.

Changed in unity8 (Ubuntu):
status: New → Invalid
no longer affects: unity8
no longer affects: unity8 (Ubuntu)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

FWIW, the DDA will land in the SDK in OTA-9

Changed in ubuntu-calculator-app:
status: Triaged → In Progress
assignee: nobody → Bartosz Kosiorek (gang65)
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

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

Changed in ubuntu-calculator-app:
status: In Progress → Fix Committed
Changed in ubuntu-calculator-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.