Calculator - Bottom row buttons difficult to select in portrait mode
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Ubuntu Calculator App |
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:/
Related branches
- Jenkins Bot: Needs Fixing (continuous-integration) on 2016-02-12
- Bartosz Kosiorek: Needs Fixing on 2016-01-12
- Michal Predotka (community): Approve on 2016-01-09
-
Diff: 23 lines (+2/-1)2 files modifiedapp/upstreamcomponents/PageWithBottomEdge.qml (+1/-1)
debian/changelog (+1/-0)
| Neil McPhail (njmcphail) wrote : | #1 |
It's just as hard to select the bottom in landscape mode.
| Changed in ubuntu-calculator-app: | |
| status: | New → Triaged |
| importance: | Undecided → High |
| Michael Zanetti (mzanetti) wrote : | #3 |
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 |
| Neil McPhail (njmcphail) wrote : | #4 |
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.
| Michael Zanetti (mzanetti) wrote : | #5 |
@njmcphail: You are right, the browser seems to be broken too in this regard, despite using the DirectionalDrag
| Olivier Tilloy (osomon) wrote : | #6 |
For webbrowser-app, this is already being tracked by a separate bug report: bug #1474533.
| no longer affects: | webbrowser-app |
| Michael Zanetti (mzanetti) wrote : | #7 |
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) |
| Michael Zanetti (mzanetti) wrote : | #8 |
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) |
Fix committed into lp:ubuntu-calculator-app at revision 259, scheduled for release in ubuntu-
| Changed in ubuntu-calculator-app: | |
| status: | In Progress → Fix Committed |
| Changed in ubuntu-calculator-app: | |
| status: | Fix Committed → Fix Released |


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