Skip to content

Wayland editor documentation popups appear on screen's edge and generate errors #107438

@Cykyrios

Description

@Cykyrios

Tested versions

  • Reproducible in v4.5.dev.custom_build [3b963ab]
  • Not reproducible in v4.5-dev5

System information

Godot v4.5.dev (d9cd011) - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Wed, 14 May 2025 14:56:34 +0000 on Wayland - Wayland display driver, Multi-window, 2 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 7900 XT (RADV NAVI31) - AMD Ryzen 9 7900X 12-Core Processor (24 threads) - 30.49 GiB memory

Issue description

Every time a class or function is hovered and its documentation popup appears, the popup is placed against the screen's right edge, and the following error is displayed in the output panel:

ERROR: platform/linuxbsd/wayland/display_server_wayland.cpp:1052 - Condition "p_window_id != MAIN_WINDOW_ID" is true. Returning: INVALID_SCREEN

This error points to this function.
In the following screenshot, I am hovering the rotated method:

Image

Steps to reproduce

Open any script, hover a documented class or function (custom or built-in).

Note that disabling multi-window support (or enabling single window mode) causes the popup to appear at the correct location, but still generates the error.

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Bad

Status

For team assessment

Relationships

None yet

Development

No branches or pull requests

Issue actions