Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Windows Explorer still respects the color-scheme preference but the problem is the way it does it.

When you as a dev use a Windows provided control (be it a button, a toolbar, a context menu, etc.) the system grabs the theme information from something called uxtheme. This is how it worked in Windows XP and why you had like 3 different themes you could pick from and switch between at any time, and most apps would respect the selection.

But dark mode doesn't work like that, there's no uxtheme for dark mode. Windows Explorer is given special treatment by Windows with undocumented APIs. Other apps are not so lucky. If they want dark mode, they need to effectively draw the whole UI themselves. Even apps like Notepad++ have to do that these days.



> Windows Explorer is given special treatment by Windows with undocumented APIs.

Microsoft: "We offer GREAT backwards compatibility! The best in the business!"

Also Microsoft: "Man, doing things the old way is so hard. What if we had a clean break with the past?!?!"

Microsoft, some time later: "Man, making a clean break from the past is so hard. Let's just ship what we've done so far and think about finishing up the rest later. What? Windows Explorer is broken, and you refuse to let us ship!? *Fine*, we'll hack something in and not tell anyone."




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: