ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #02925
[Bug 1320885] Re: TextField ignore all text placement rules
This bug could be reproduced on calculator reboot:
https://code.launchpad.net/~ubuntu-calculator-dev/ubuntu-calculator-app/reboot
Problematic part of code is here:
http://bazaar.launchpad.net/~ubuntu-calculator-dev/ubuntu-calculator-app/reboot/view/97/app/ubuntu-calculator-app.qml#L567
** Also affects: ubuntu-calculator-app (Ubuntu)
Importance: Undecided
Status: New
** Changed in: ubuntu-calculator-app (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1320885
Title:
TextField ignore all text placement rules
Status in ubuntu-calculator-app package in Ubuntu:
Invalid
Status in ubuntu-ui-toolkit package in Ubuntu:
Invalid
Bug description:
It has been found recently in the clock and the calculator app that
the text placement rules are ignored and all text is placed on the
left. This is a visual regression.
It can be successfully reproduced using the following code,
import QtQuick 2.0
import Ubuntu.Components 0.1
MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: "mainView"
// Note! applicationName needs to match the "name" field of the click manifest
applicationName: "com.ubuntu.developer.nik90.TextFieldBug"
width: units.gu(50)
height: units.gu(20)
Page {
title: i18n.tr("Simple")
TextField {
id: textLabel
text: "test"
anchors.centerIn: parent
horizontalAlignment: TextInput.AlignHCenter
}
}
}
As you can see the horizontalAlignment: TextInput.AlignHCenter
assignment is ignored.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-calculator-app/+bug/1320885/+subscriptions