-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
Yellow atlas source warning exclamation mark is REALLY hard to see in light mode #87987
Comments
A similar yellow warning icon (for node and script warnings) is handled properly in this scenario:
However, for some reason, this particular icon ( godot/editor/themes/editor_color_map.cpp Line 174 in 36e943b
|
@RobProductions I've just tested it on the latest commit (5f05e2b), before and after applying #88058, and I can't reproduce that. Can you try out the CI build (https://github.com/godotengine/godot/actions/runs/7949675459) and see if it still occurs? And if yes, provide more details about your setup/settings? |
It does:
I'm using Windows 10 with a Ryzen 5 CPU and a GTX 1060. Also, I believe I know what the problem is! While working on styling updates for a PR recently I discovered that certain parts of the UI don't update properly after a theme switch and only update once Godot is completely reloaded. This is because some overrides to the default theme happen within the constructor on certain Nodes rather than the So in summary, the reason I'm seeing this and you didn't is because I started in Default theme and switched into Light theme before I took the screenshot. Here's what the CI build looks like when I start Godot with Light theme already enabled: And then if I switch to dark mode without restarting the opposite problem occurs (yellow color is too dark): So the fix would be to find where this font color override happens and assign it through the callback so it can get updated when the user switches themes instead of just once at startup. Not of highest importance as users probably aren't switching themes like this constantly so you'd barely notice it, but would be nice to smooth this out. Hope that helped! |
Tested versions
System information
Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4080 Laptop GPU (NVIDIA; 31.0.15.4633) - 13th Gen Intel(R) Core(TM) i9-13900HX (32 Threads)
Issue description
When there is an issue with the tiles of an atlas source, a yellow exclamation mark will warn the user about it. When hovering, it might show useful information, like "The current atlas source has tiles outside the texture" or something like that. Unfortunately, it is really hard to see in light mode:
![image](https://private-user-images.githubusercontent.com/41524896/302395808-e07f29be-c050-4af5-a345-768ae55743be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTU5MTcsIm5iZiI6MTczOTY1NTYxNywicGF0aCI6Ii80MTUyNDg5Ni8zMDIzOTU4MDgtZTA3ZjI5YmUtYzA1MC00YWY1LWEzNDUtNzY4YWU1NTc0M2JlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDIxNDAxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNmZjQ3ZWUyMzJhOTQ4MGRkYmI4YzZiMTkyNDkyZTZjMzBjMjRjY2VhMTA1OWE3ODBlMjM5OGNkZGEzZmMwYzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ibii7bkRK1pnMgLcUkmtjaENhe2ap4VJ1Z5XeEVuyJk)
While you certainly notice that it's there if you know about it, when I wondered why I'm getting so many errors I tried debugging for at least an hour before I learned of its existence online.
Steps to reproduce
Minimal reproduction project (MRP)
Exclamation.zip
The text was updated successfully, but these errors were encountered: