Comment by kmeisthax

Comment by kmeisthax 2 days ago

0 replies

I installed iPadOS 26 specifically for the new windowing features. I like the glass look as a concept. But the actual implementation of it is total dogshit. I cannot go a day without seeing the OS render black-on-black or white-on-white text, especially in the status indicators at the top of the device. There are so many little things regarding automatic color contrast in UIKit that are just poorly thought out or broken.

The thing is, Liquid Glass is already using a shader to render the refraction effect on top of the other UI layers. But - at least from my own developer experiments - it doesn't actually use anything graphical to determine what background color it needs to contrast against[1]. Instead, it looks through the view hierarchy for a view on the same edge as the toolbar the widget is in, and then grabs some undocumented[0] property from that view to determine its background. This fails if there's a split. Build, say, a toolbar layout and put two views inside of it, split 50% vertically with one having a black background and the other white. Put items in your toolbar on both left and right sides. They will either be all black or all white, only contrasting with half the screen.

[0] Or, at least, I have yet to find out what this property is.

[1] Hell, for icons and text they could XOR the alpha mask with the underlying pixels, or a blurred version thereof, to make text that will always contrast.