Lattice Grid Buy a licence

Layout ยท console.warn

layout: select("{id}") - no such window; the...

Printed by Layout, prefixed [lattice], since 1.89.0.

Warnings reference › layout.select.unknown.*

Identifier
layout.select.unknown.*
Raised by
Layout
Since
1.89.0

What happened

layout.select(id) named a window the layout does not hold, so the selection did not change and the call returned the id still selected (or null). The warning is raised once per unknown id.

The fix

Check the id against layout.windows(), or pass null to clear the selection.

Reference

Covered in full at the API reference.