← Back to team overview

touch-packages team mailing list archive

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

 

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
    Component.onCompleted: pageStack.push(mainPage);
    Page {
        id: mainPage
        objectName: "mainPage"
        title: i18n.tr("系统设置")
        visible: true

        Label {
            anchors.centerIn: parent
            text: "系统设置"
            fontSize: "x-large" // different fontSizes do not have the bug
        }
    }
}

As reported in the dupe bug https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1462982
the bug *only* occurs with a grid unit size of 23, so run the app with:
GRID_UNIT_PX=23 qmlscene test.qml


As you can see, I managed to reproduce it with a Label (not in the header). The bug only appears when fontSize: "x-large" is set.

-- 
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 missing in header with 50 GU

Status in Canonical System Image:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  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 
  2. Reboot the phone 

  EXPECTED:

  I should see all header strings displayed properly.

  ACTUAL:

  Randomly missing character.

  VERSIONS:

  current build number: 51
  device name: arale
  channel: ubuntu-touch/rc-proposed/meizu.zh-proposed
  last update: 2015-07-16 04:59:10
  version version: 51
  version ubuntu: 20150716
  version device: 20150709-8965e37
  version custom: 20150716-819-9-6

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1475205/+subscriptions


References