Skip to content

Black rectangles over new UI elements when using Wayland #81732

Closed
@iommu

Description

@iommu

Godot version

4.0.4 stable, 4.1.1 stable, 4.2-dev4

System information

WM Gnome 44.4, Godot v4.1.1.stable unknown - EndeavourOS #1 ZEN SMP PREEMPT_DYNAMIC Wed, 13 Sep 2023 08:37:16 +0000 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 with Max-Q Design () - AMD Ryzen 9 4900HS with Radeon Graphics (16 Threads)

Issue description

New/refreshed UI elements (i.e. drop down menus, editing node names) have a chance to render entirely as a black rectangle initially, after hovering over any buttons with your mouse the black rectangle will be removed.

Notes:

  • the black rectangle seems to be drawn on top of the UI as the UI can be seen for a few milliseconds before being covered.
  • it can take a few tries to start, but once it starts occurring it occurs almost every time
  • occurs on Forward+ and Mobile renders, but not Compatibility
  • does not occur on project manager
  • as the system info shows, I am using Nvidia on Wayland, which has traditionally been a pain point.
  • using godot --single-window seems to mitigate this issue, similar to past Wayland related black bar issues.

Screenshot from 2023-09-16 19-13-42
Screenshot from 2023-09-16 19-13-51
Screenshot from 2023-09-16 19-20-17

Steps to reproduce

  1. Using Wayland, on Linux, open a new instance of Godot (tested were 4.0.4 stable, 4.1.1 stable & 4.2-dev4) and navigate to any project.
  2. From the project open any of the title bar drop down menus (it is random for when this bug will occur, so you may need to click it a few times)

Minimal reproduction project

N/A : affects any project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions