** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

-- 
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/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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to