Skip to content

Wayland: Floating & embedded Game window is not closed properly with WM close button #118183

@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 closing a running a project embedded and floating on Wayland with the window manager's close button, the window itself is destroyed but the game is still processing in the background, for example sound can still be heard and the Run Game toolbar still looks like it's still running:

Image

Does not occur when not floating. Pressing the editor's Stop button works properly. SceneTree::quit() works properly.

The NOTIFICATION_WM_CLOSE_REQUEST notification does not get sent.

Steps to reproduce

  • Enable Wayland in both editor and project;
  • Enable embedding and floating and run the project;
  • Close the game with the WM's close button

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