Lattice Grid Buy a licence

Layout · console.warn

layout: minimise("{id}") - a window with chrome: false cannot be minimised; there would be nothing left on screen to restore it with.

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

Warnings referencelayout.minimise.chrome.*

Identifier
layout.minimise.chrome.*
Raised by
Layout
Since
1.54.0

What happened

A minimised window is represented by its own chrome - the title bar carrying the control that brings it back. This window was declared with chrome: false, so minimising it would leave nothing on screen at all and no way for a user to reverse it. The layout refuses rather than creating a window that cannot be recovered.

The fix

Give the window chrome if it is to be minimisable, or close it instead and re-add it when it is wanted again.

The smallest fix

layout.add({ id: 'notes', chrome: true, … });

Reference

Covered in full at the API reference.