ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06032
[Bug 1561814] [NEW] application crashes if subtitle.text of Captions is too long
Public bug reported:
I copied the code snippet at
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.Captions/,
and I made an example at https://github.com/liu-xiao-guo/captions
If the code is like:
Captions {
title.text: "Caption1"
subtitle.text: "Subtitle text 1111111111111111111"
// attached properties of an Item type property
// can be changed only with assignment
Component.onCompleted: subtitle.Layout.alignment = Qt.AlignRight
}
The app crashes, however, if I change the above code to:
Captions {
title.text: "Caption1"
subtitle.text: "Subtitle text"
// attached properties of an Item type property
// can be changed only with assignment
Component.onCompleted: subtitle.Layout.alignment = Qt.AlignRight
}
Then the app does not crash any more.
Best regards,
XiaoGuo
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
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/1561814
Title:
application crashes if subtitle.text of Captions is too long
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug description:
I copied the code snippet at
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.Captions/,
and I made an example at https://github.com/liu-xiao-guo/captions
If the code is like:
Captions {
title.text: "Caption1"
subtitle.text: "Subtitle text 1111111111111111111"
// attached properties of an Item type property
// can be changed only with assignment
Component.onCompleted: subtitle.Layout.alignment = Qt.AlignRight
}
The app crashes, however, if I change the above code to:
Captions {
title.text: "Caption1"
subtitle.text: "Subtitle text"
// attached properties of an Item type property
// can be changed only with assignment
Component.onCompleted: subtitle.Layout.alignment = Qt.AlignRight
}
Then the app does not crash any more.
Best regards,
XiaoGuo
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1561814/+subscriptions