<dt><b>Command:</b> <dd>Float layer</dd></dt>
<dt><b>Menu:</b> <dd>"<Image>/Layer/Float Layer"</dd>
<dt><b>PDB Name:</b> <dd>script-fu-sg-float-layer</dd></dt>
<dt><b>Download:</b> <dd>[http://chiselapp.com/user/saulgoode/repository/script-fu/artifact/397ca841b38943d4b2c8e404e1f29e4f766d7d08|sg-float-layer.scm] (after the page appears, click on the "Download" command)</dd></dt>
<dt><b>Description:</b> <dd>Create a floating selection from the entire layer; destroying any existing selection. This allows repositioning the layer without repositioning the layermask (works for other transformations as well).
This is a useful technique for interactively cropping/transforming a layer so that it is presented within a masked window in a certain location on the image. While a similar effect could be achieved by performing a "Select->All" and then floating the selection, regions of the layer outside of the image will be "lost" and unavailable during the repositioning. By using this "Float layer" command, the entire layer is available as the floated selection. This is often important for such use cases where the layer being positioned is much larger than final image.
NOTE: When the floated layer is anchored, any regions outside the bounds of the original layer are lost. Also, any selection mask that is present initially is lost.