OSGeo / grass

GRASS GIS - free and open-source geospatial processing engine
https://grass.osgeo.org
Other
849 stars 308 forks source link

[Bug] Display tab: Text in list of layers sometime unreadable #1863

Open wenzeslaus opened 3 years ago

wenzeslaus commented 3 years ago

Reproduce

Screenshot

Screenshot from 2021-09-12 15-18-59

System info

GRASS version: 8.0.dev                                                          
Code revision: 6a34ab17a                                                        
Build date: 2021-08-26                                                          
Build platform: x86_64-pc-linux-gnu                                             
GDAL: 3.2.1                                                                     
PROJ: 7.2.1                                                                     
GEOS: 3.9.0                                                                     
SQLite: 3.31.1                                                                  
Python: 3.8.10                                                                  
wxPython: 4.1.1                                                                 
Platform: Linux-5.11.0-7620-generic-x86_64-with-glibc2.29  
ocsmit commented 3 years ago

Do you happen to know which system theme you are using? I am unable to reproduce with latest GRASS dev on Ubuntu 20.04 LTS. Tried a couple different dark system themes.

wenzeslaus commented 3 years ago

I'm using basic Appearance > Dark on _PoP!OS and I don't know if there is a matching Ubuntu theme. The tricky part with reproducing it is that I get two different kinds of highlights. The following screenshot on the left shows colors just after adding the layers. On the right, I did two clicks on the layers, first keeps the same very dark, the other switches the highlight to lighter gray.

Screenshot from 2021-09-13 17-10-40

I was assuming this is from using custom black for the text, but getting some color from the system instead to do the black "highlight". Anyway, basically I think the graphics is just trying to be too fancy (e.g., the gradient is too much) and it is using custom colors instead of using the system colors (my highlight color is blue which is not used here at all).

It may be wxPython issue. My wxPython version is 4.1.1. I updated the description accordingly.