Skip to content

Cannot set root window position on launch #79888

@okla

Description

@okla

Godot version

v4.1.1.stable.official [bd6af8e]

System information

Godot v4.1.1.stable - Fedora Linux 38 (Cinnamon) - Vulkan (Compatibility) - Mesa Intel(R) UHD Graphics 630 (CML GT2) () - Intel(R) Core(TM) i5-10505 CPU @ 3.20GHz (12 Threads)

Issue description

In my project I want to keep root window's size and position between launches. Restoration code called in the root node's _ready(). It worked fine on versions 4.0.3/4.0.4.dev1 but doesn't work anymore since 4.1.dev1. It looks like the size is set correctly but position is not.

May be related to #79581

Steps to reproduce

  1. Launch the attached project

Minimal reproduction project

Bug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions