touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #101404
[Bug 1071327] Re: StaticCairoText makes NUX get into an infinte loop
** Changed in: nux (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1071327
Title:
StaticCairoText makes NUX get into an infinte loop
Status in Nux:
Fix Released
Status in Unity:
Fix Released
Status in nux package in Ubuntu:
Fix Released
Status in unity package in Ubuntu:
Fix Released
Bug description:
The following example code gets the nux rendering into an infinite loop where we don't get any rendering.
(remeber that atm nux::StaticCairoText is in lp:unity)
nux::VLayout* title_data_layout = new nux::VLayout();
nux::ObjectPtr<nux::StaticText> title_;
title_ = new nux::StaticCairoText("", true)
title_data_layout->AddView(title_.GetPointer(), 1);
title_->SetMaximumWidth(50);
title_data_layout->SetMaximumWidth(100);
If the above code does not set the maximum width of the text or we use
the StaticText everything works as expected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/1071327/+subscriptions