PDA

View Full Version : Dark Theme icons - Behavior



Samuel Pizarro
6-Feb-2022, 03:36 PM
When I migrated a workspace from 19.1 in the past, and then enabled the Studio Dark Theme, all classes in AppSrc\config\classlist.xml got changed to point to the *_Dt.ico icons instead.

Ie: line

<image>cWebGrid.ico</image>

got changed to:
<image>cWebGrid_Dt.ico</image>

Fine.

Now, when I migrated form 20.0 to 20.1, classlist.xml got changed again to the previous values, i.e. without the _DT sufix.

As far as I can tell, the icons in studio are being showing properly, or I am not being able to detect any "bad" icon with dark theme.

Was this an oops, or was this reverted on purpose, and studio got "smarter" to detect the best icon based on theme being used ?

Thanks

Samuel

Harm Wibier
7-Feb-2022, 08:45 AM
Yes, we redid the switching logic. The _dt suffixes should have never reached the classlist.xml.

Samuel Pizarro
7-Feb-2022, 09:04 AM
that indeed makes more sense..

thanks for the confirmation.