-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor Tooltip has transparency background with transparent font color. #92712
Comments
I can't confirm on Windows 10 with Compatibility or Forward+, so this seems like it'd be hardware specific |
It looks like tooltips are using window transparency now (which is a good thing, so their rounded corners can actually be seen). However, premultiplied alpha is used for window transparency in 4.x. This means that transparent black is invisible, but transparent white is visible as pure additive white. See #83939. |
Update: |
I can't reproduce the issue on Linux (AMD GPU) with either Compatibility or Forward+ renderers: Might be Windows specific, CC @bruvzg. |
Further testings:
Edit: So the reason my old laptop wasn't able to reproduce the issue might be because of it only has a single screen. |
I can reproduce. Likely caused by this line from #86553 when the popup window is made: Lines 1486 to 1487 in 3978628
|
It's not clear to me why this was added in that PR, but ai think we could revert that flag change. |
Tested versions
System information
Godot v4.3.beta1 - Windows 10.0.22631 (Windows 11) - GLES3 (Compatibility) - NVIDIA GeForce GTX 1050 (NVIDIA; 31.0.15.3734) - 12th Gen Intel(R) Core(TM) i5-12400 (12 Threads)
Issue description
Tooltip has color issue, but I was not able to identify the problem through Editor Theming.
Removing Godot folders from AppData (Local & Roaming) does not fix the problem.
On the other hand, my old laptop runs v4.3.dev6 without issues. I suspect this to be related to system components (GPU?)
Old laptop specs:
Windows 10.0.19045 - GLES3 (Compatibility) - GeForce 820M () - Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz (4 Threads)
Steps to reproduce
During dark mode, background is transparency.
During light mode, text is fully transparent.
Compare to previous versions ~v4.3.dev5 (working normal colors):
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: