Skip to content

Wayland: Floating & embedded Game window does not resize to main viewport size when run #118182

@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 running a project embedded and floating on Wayland, the game window does not resize to at least the size defined in the ProjectSettings properties display/window/size/viewport_[width/height], always starting smaller than even the default 1152x648. On x11, the window is resized to cover that resolution.

(Additionally, when resizing the window and then re-running, the viewport size indicator reports the size the viewport was previously until resized back, but this seems to happen on both x11 (or at least XWayland) and Wayland and potentially unrelated: #118181)

Steps to reproduce

  • Enable Wayland in both editor and project;
  • Enable embedding and floating and run the project;
  • The inner viewport (and thus the game workspace window) will be smaller than the default defined in ProjectSettings

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