On Mon, 18 Aug 2025 21:15:21 GMT, Nir Lisker <nlis...@openjdk.org> wrote:

> Does `SubScene`'s root also count as a layout root?

After investigation, it seems that SubScene's are considered **scene roots**, 
so that would it a layout root as well.  This code in `Parent` (which monitors 
Scene/SubScene properties) convinces me that's the case:

        sceneRoot = (newSubScene != null && newSubScene.getRoot() == this) ||
                    (newScene != null && newScene.getRoot() == this);
        layoutRoot = !isManaged() || sceneRoot;

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1874#issuecomment-3198543404

Reply via email to