StaticCairoText makes NUX get into an infinte loop
Bug #1071327 reported by
Manuel de la Peña
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nux |
Fix Released
|
Undecided
|
Unassigned | ||
Unity |
Fix Released
|
Undecided
|
Unassigned | ||
nux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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::StaticCair
nux::VLayout* title_data_layout = new nux::VLayout();
nux::ObjectPtr<
title_ = new nux::StaticCair
title_data_
title_-
title_data_
If the above code does not set the maximum width of the text or we use the StaticText everything works as expected.
Related branches
lp://staging/~mandel/unity/fix-static-cairo-text
- Marco Trevisan (Treviño): Approve
- Nick Dedekind (community): Needs Fixing
- Brandon Schaefer (community): Approve
- Tim Penhey: Pending requested
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 367 lines (+182/-34)7 files modifiedlauncher/LauncherIcon.cpp (+3/-3)
launcher/Tooltip.cpp (+19/-14)
launcher/Tooltip.h (+7/-6)
tests/CMakeLists.txt (+1/-0)
tests/test_launcher_tooltip.cpp (+109/-0)
tests/test_static_cairo_text.cpp (+33/-5)
unity-shared/StaticCairoText.cpp (+10/-6)
Changed in unity: | |
status: | New → Fix Committed |
Changed in nux: | |
status: | New → Fix Committed |
status: | Fix Committed → New |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in nux: | |
status: | Fix Committed → Fix Released |
Changed in nux (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
I'm marking it as fix commited in nux because the layout fixes by jay sorted out the problem.