grassmunk / Chicago95

A rendition of everyone's favorite 1995 Microsoft operating system for Linux.
4.48k stars 153 forks source link

when using windows 95 themes text of selected items in icon view is broken #294

Open dualboot91 opened 1 year ago

dualboot91 commented 1 year ago

i am running the spruce theme from windows 95 and when i switch to icon view instead of list the highlighted icons have a white highlight, which renders the text invisible. i have been searching everywhere for a fix and have found no way to actually modify the theme file to correct. Screenshot_2023-06-30_12-55-19

dualboot91 commented 1 year ago

i have just confirmed that does the same thing in compact view. Screenshot_2023-06-30_13-07-45

the only view that works properly is list view Screenshot_2023-06-30_13-06-43

dualboot91 commented 1 year ago

this happens with every win95 theme file. it appears to not correctly translate the highlight color to compact or icon view.

dualboot91 commented 1 year ago

i found a fix to the problem

.thunar widget.view:selected { background-color: shade(@selected_bg_color, 3.0); } .thunar widget.view:selected:focus { background-color: @selected_bg_color; }

the 3.0 in this section of code from thunar.css isn't being read, but when you change it to a percentage it works fine. the script that converts the theme needs to be reconfigured to convert those values to percentages.

dualboot91 commented 1 year ago

i searched the code in the repository for this problem and it seems to pop up about eight times. i don't know if decimals work normally for other people, but my install isn't reading them properly.