godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.8k stars 20.14k forks source link

Empty unnamed windows appear on slow double-click in FileSystem panel #95863

Open Bronuh opened 3 weeks ago

Bronuh commented 3 weeks ago

Tested versions

System information

Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; 31.0.15.5176) - AMD Ryzen 5 5600X 6-Core Processor (12 Threads)

Issue description

When performing a slow double-click (as when attempting to rename a file or folder) on any item in the FileSystem panel of the Godot editor, an empty unnamed window appears in the taskbar. This issue allows multiple empty windows to open with further clicks. These empty windows do not automatically close even when the main editor window is closed. Instead, they close in batches when attempting to switch to them.

Steps to reproduce

  1. Open any project in Godot version 4.3-dev4 or later.
  2. In the FileSystem dock, slowly double-click any file or folder.
  3. Continue clicking.
  4. Observe the taskbar where empty unnamed windows start to appear. PowerToys_xsU9aC9rVM

Minimal reproduction project (MRP)

N/A

Bronuh commented 3 weeks ago

upd1: Additional testing revealed that this bug does not occur in KDE Plasma (both X11 and Wayland). The issue seems to be specific to Windows.

Bronuh commented 3 weeks ago

upd2: When running Godot in compatibility mode, the bug does not occur.

Bronuh commented 3 weeks ago

upd3: It seems that the bug is caused by the classic StartAllBack taskbar in Windows 11. However, this problem did not occur before version 4.3-dev4.

JekSun97 commented 3 weeks ago

I can't reproduce this problem Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated Radeon RX 560 Series (Advanced Micro Devices, Inc.; 31.0.14001.45012) - Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 Threads)

Hilderin commented 3 weeks ago

I was able to reproduce only when StartAllBack: Windows 11 is installed. In fact on my PC, each time a tooltip is displayed a new window is created in the taskbar.

https://github.com/user-attachments/assets/4cdcc772-88d3-476e-8c75-b37ca8304eca

CantWeAllDisagree commented 2 days ago

Yeah its def startallback been using godot all month installed startallback the otherday and was having the same issue.

Something Im wondering though is if this is causing any kind of memory leak? Since the windows dont close automatically and that kinda makes me think...