# Bool LayoutNode::setupShape() always returns true?

**URL:** <https://forum.collaboraonline.com/t/bool-layoutnode-setupshape-always-returns-true/4806>\
**Category:** Development\
**Created:** [June 28, 2026, 12:22pm UTC](https://forum.collaboraonline.com/t/bool-layoutnode-setupshape-always-returns-true/4806 "2026-06-28T12:22:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Regina](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Regina](https://forum.collaboraonline.com/u/Regina)\
**Post date:** [June 29, 2026, 7:09pm UTC](https://forum.collaboraonline.com/t/bool-layoutnode-setupshape-always-returns-true/4806/3 "2026-06-29T19:09:47Z")

</div>

> [@darshan](#):
>
> The only reason to keep it is that the if blocks mark the work that should be skipped if setup ever failed (naming, parenting, storing the shape), so it leaves room for a future failure path that was never finished.

Thank you for looking at it. You are right about “future failure path”. I have added my obsevation to my collection in [ProblemsInSmartArtImplementation.odt - Nextcloud](https://staging-perf.eu.collaboraonline.com/nextcloud/index.php/s/HxZ2iatHfeP7wLt) . We can decide about it, after the missing parts of SmartArt are implemented.

---

_[View the full topic](https://forum.collaboraonline.com/t/bool-layoutnode-setupshape-always-returns-true/4806)._
