Skip to content

Floating & embedded game workspace incorrectly reports previous window size when re-run #118181

@Yagich

Description

@Yagich

Tested versions

  • Reproducible in v4.6.2.stable.official [71f334935]

System information

Godot v4.6.2.stable - on Wayland - Wayland display driver, Multi-window, 2 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 7600 (RADV NAVI33) - KDE Plasma 6.5.5

Issue description

When resizing a floating embedded game workspace window, a label shows the viewport size. When the game is stopped and run again, that label is not updated with the correct window size:

Image

Occurs on both native Wayland and XWayland on KWin, though on XWayland it only occurs if the new size is smaller than the size defined in ProjectSettings display/window/size/viewport_[width/height]

Steps to reproduce

  • Enable embedding and floating and run the project;
  • Resize the window and close the project;
  • Run the project again.

Minimal reproduction project (MRP)

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions