[Calculator]Long formulas do not fit in calculator history
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
Medium
|
Bartosz Kosiorek | ||
Ubuntu UX |
Fix Committed
|
Medium
|
James Mulholland |
Bug Description
Long formulas do not fit in calculator history. This is especially visible in Portrait View and with inifinity result's number (for example (1/3=0.
Also Input Field is quite short and we should analyse possible solution for that
Truncating numbers will not help with all cases: for example long formula.
One of the idea was to use few lines to display history: If formula is short then we will display it in one row, if not we will use few rows.
I think we need analyse possible solutions, and select one which fit our need the best.
Proposed solution:
Introduce multi line calculations history
The history displays could be limited to 3 lines. After formula exceeds 3 lines, the three dots will be displayed.
This bug is related to:
https:/
--- --- --- ---
UX Comment:
The bug highlights the need to allow for multi-line history. The proposed 3 line limit (with an ellipses '...' truncating the third line when it is exceeded) seems a reasonable upper limit.
Related branches
- Jenkins Bot: Approve (continuous-integration)
- Michal Predotka (community): Approve
- Riccardo Padovani: Needs Fixing
-
Diff: 157 lines (+45/-21)3 files modifiedapp/ubuntu-calculator-app.qml (+4/-11)
app/ui/Screen.qml (+38/-8)
debian/changelog (+3/-2)
summary: |
- Long formulas do not fit in calculator history + [Calculator][UX]Long formulas do not fit in calculator history |
Changed in ubuntu-calculator-app: | |
status: | Confirmed → Incomplete |
description: | updated |
Changed in ubuntu-ux: | |
assignee: | nobody → James Mulholland (jamesjosephmulholland) |
importance: | Undecided → Medium |
Changed in ubuntu-ux: | |
status: | New → Triaged |
description: | updated |
Changed in ubuntu-ux: | |
status: | Triaged → Fix Committed |
summary: |
- [Calculator][UX]Long formulas do not fit in calculator history + [Calculator]Long formulas do not fit in calculator history |
Changed in ubuntu-calculator-app: | |
status: | Incomplete → Triaged |
Changed in ubuntu-ux: | |
status: | Confirmed → Fix Committed |
Changed in ubuntu-calculator-app: | |
status: | Incomplete → In Progress |
assignee: | nobody → Bartosz Kosiorek (gang65) |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
Multiline support it is not looks good for Portrait View, when Result and Formula is in the same line. Espeically when result string is long and tooks almost whole space (eg. 1/3+99- 99=0.3333333333 33).
My proposal is for Portrait View, separate Result and Formula (see Portrait_ view_multi_ line.png) . view-multiline. png)
For landscape view, it will looks the same (see: landscape-