Qt.locale().amText property does not work for English (Australia) locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Won't Fix
|
Low
|
Bartosz Kosiorek |
Bug Description
Issue
=====
Digital time display is wider than the circle it's drawn on.
At a guess, the font size is correct for a slightly higher resolution. But on krillin at least the digital time display is bigger than the inner circle. This looks particularly inelegant when animating between digital and analog modes.
Screenshot: https:/
Reasoning
=========
Ubuntu Clock App identifies the AM/PM text of the user locale using Qt.locale().amText/ Qt.locale().pmText property [1]. It seems this identification fails for the English(Australia) locale.
Rather than patching this in the ubuntu clock app, it would be best to fix it in QtUbuntu and then even upstream it if possible.
[1] http://
Related branches
- Bartosz Kosiorek: Needs Information
- Nekhelesh Ramananthan: Disapprove
- Victor Thompson: Needs Information
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 78 lines (+29/-22)2 files modifiedapp/components/DigitalMode.qml (+28/-22)
debian/changelog (+1/-0)
Changed in ubuntu-clock-app: | |
status: | New → Confirmed |
Changed in ubuntu-clock-app: | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
summary: |
- [krillin] Digital time display is wider than the circle it's drawn on + [krillin] Digital time display is wider than the circle it's drawn on, + for English (Australia) locale |
Changed in ubuntu-clock-app: | |
status: | Triaged → In Progress |
assignee: | nobody → Bartosz Kosiorek (gang65) |
Changed in ubuntu-clock-app: | |
milestone: | none → 3.6 |
Changed in ubuntu-clock-app: | |
milestone: | 3.6 → 3.7 |
milestone: | 3.7 → 3.6 |
summary: |
- [krillin] Digital time display is wider than the circle it's drawn on, - for English (Australia) locale + Digital time display is wider than the circle it's drawn on, for English + (Australia) locale |
Changed in ubuntu-clock-app: | |
status: | Fix Committed → Triaged |
milestone: | 3.6 → 3.7 |
description: | updated |
Changed in ubuntu-clock-app: | |
status: | Triaged → In Progress |
milestone: | 3.7 → 3.6 |
Changed in ubuntu-clock-app: | |
importance: | Medium → Low |
description: | updated |
summary: |
- Digital time display is wider than the circle it's drawn on, for English - (Australia) locale + Qt.locale().amText property does not work for English (Australia) locale |
I don't have krillin and run all my tests on mako. Can you please post a screenshot of the bug?