godotengine / godot

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

Tooltips are empty for one frame when they appear #91704

Open KoBeWi opened 4 months ago

KoBeWi commented 4 months ago

Tested versions

4.3 dev6 Not sure when it started.

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

When a tooltip appears, it will be gray for a very brief moment:

https://github.com/godotengine/godot/assets/2223172/bbbbb1ce-0b60-4068-81a3-74c213bf303f

It appears as empty Viewport until the content is loaded.

Steps to reproduce

  1. Hover something with tooltip
  2. Look closely when the tooltip appears

Minimal reproduction project (MRP)

N/A

passivestar commented 4 months ago

I don't have this

Godot v4.3.dev6 - macOS 14.4.1 - Vulkan (Forward+) - integrated Apple M1 Max - Apple M1 Max (10 Threads)

https://github.com/godotengine/godot/assets/60579014/2c1deac9-0a51-4f78-ba52-00eab7d2c36f

KoBeWi commented 4 months ago

Seems like on macOS the tooltip has a short animation (this is your video slowed down):

https://github.com/godotengine/godot/assets/2223172/a82f0a76-a987-4940-9da3-e97a7e480216

Though in later instances it makes the cursor disappear:

https://github.com/godotengine/godot/assets/2223172/8a8a6576-36fd-4aed-9ade-8a6e64d77b2c

passivestar commented 4 months ago

Though in later instances it makes the cursor disappear

Cursor disappearing is unrelated, I've been struggling with that for a long time when making content, it only disappears in recordings so gotta be something about how macos does screen recording (cursor also moved 1px up the the recording, which didn't happen in reality when I was recording)

TAGames commented 4 months ago

EDIT: Sorry, just noticed you are talking about a single frame. I have this issue permanent.

Created an issue: https://github.com/godotengine/godot/issues/91958

anniryynanen commented 3 months ago

I'm having a more pronounced version of this in a project with the "Embed Subwindows" setting off. Tooltips flash white when they appear. Here's a MRP: tooltip-flash.zip

The first commit where it happens is 0881c81c136e3b133a480bedd14a7517bd8a373b. It was merged on Apr 18, which makes me think it could be the same issue.

I'm running Windows 11 - Vulkan (Forward+) - AMD Radeon RX 7700 XT (Advanced Micro Devices, Inc.; 31.0.24027.1012) - AMD Ryzen 7 5700X3D 8-Core Processor (16 Threads)

hydescarf commented 1 month ago

Appears on 4.2.1-stable as well. Also appears only when "Single Window Mode" is disabled.

Not sure if it helps, the color "gray" could be related to theme settings, in my light mode, it's white instead.