[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-20 Thread Tim Peeters
I reproduced the bug independent from the GU size and without importing Ubuntu.Components: import QtQuick 2.0 Item { width: 800 height: 600 Text { anchors.centerIn: parent text: 系统设置 one two font.family: Ubuntu font.pixelSize: 69 font.weight:

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-20 Thread Tim Peeters
** Also affects: ubuntu-font-family-sources (Ubuntu) Importance: Undecided Status: New ** Changed in: ubuntu-font-family-sources (Ubuntu) Importance: Undecided = High ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: In Progress = Invalid -- You received this bug

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-20 Thread Tim Peeters
** Description changed: After applied 50 GU setting in image, we started seeing randomly missing Chinese characters across scopes and apps header, not clipped at the begin or end of string, sometimes in the middle. STEPS: - 1. Switch display language to zh_CN in system settings -

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Zsombor Egri
This seems to be rather a Qt bug than a toolkit one. All we do in 50 GU system is we calculate the pixels. Penn Chen, could you check the same with a simple QML test to be sure we're on the same page? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages,

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Zsombor Egri
I'll mark it as Incomplete as it is not confirmed that is part of UITK. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1475205 Title: Random Chinese character

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Zsombor Egri
Sorry, typo, Penk Check I meant... ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu.

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Tim Peeters
-- Copying Timo's request from the duplicate bug below -- As an additional data gathering, could you test if it's the same on wily images ie ubuntu-touch/devel/ubuntu ? wily has Qt 5.4.2 so additional fixes compared to vivid's Qt 5.4.1. If the problem would be fixed on wily, we

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Penk Chen
Screenshots from left to right: 1. normal splash screen without issue 2. issue happened with test QML in comment #7, and 3. normal app quick-controls.qml without issue ** Attachment added: reproduce.png

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Penk Chen
I can not reproduce this issue in QtQuick.Controls with ApplicationWindow and toolBar. Test app attached, you'll need qml- module-qtquick-controls installed of course. However, this can be easily reproduced in Ubuntu.Components 1.1 with MainView and Page title, like this: MainView {

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Tim Peeters
I managed to reproduce this on desktop with the following code: import QtQuick 2.3 import Ubuntu.Components 1.2 MainView { objectName: test applicationName: com.ubuntu.chinese-font id: mainView width: units.gu(50) height: units.gu(67) //useDeprecatedToolbar: false

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Tim Peeters
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1475205 Title: Random Chinese

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Zsombor Egri
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Incomplete = Confirmed ** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: Zsombor Egri (zsombi) = Tim Peeters (tpeeters) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Tim Peeters
It also happens with Text and certain font sizes: Text { text: 系统设置 font.pixelSize: 1.714*14*(23/8) } where font.pixelSize here follows the same computation that goes from x-large fontSize to the actual pixelSize. The 23 in the calculation is the value of

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-17 Thread Tim Peeters
The bug shows also when using Text, but only when Ubuntu.Components is imported: import QtQuick 2.4 // uncomment this line to show the bug: import Ubuntu.Components 1.2 Item { width: 800 height: 600 Text { anchors.centerIn: parent text: 系统设置 font.pixelSize:

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-16 Thread Penk Chen
Another screenshot of missing character in news-scope. ** Attachment added: news-scope.png https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1475205/+attachment/4429980/+files/news-scope.png -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1475205] Re: Random Chinese character missing in header with 50 GU

2015-07-16 Thread Pat McGowan
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Importance: Undecided = High ** Changed in: canonical-devices-system-image Status: New = Confirmed ** Changed in: canonical-devices-system-image