I discovered today that if you click on the 1px outside of a TextField border, the TextField becomes transparent – even in light mode. In dark mode all controls are transparent, but in light mode that’s not the case.
This weird behavior caused a visual display glitch with a project I’m working on.
@Patrick_Salo it’s a system level glitch that affects non-Xojo apps too.
@Greg_O thanks for looking into it! I had tested with non-Xojo apps and found it there too, corroborating what you found by building a test project in Xcode.
@TimStreater The text is still visible with a click inside. The demo project lets you play with the glitch, the hardest part is only clicking in the right spot.
Just to be clear, I’m not complaining about this and I have a workaround for my project! I just wanted to share it because in 20+ years of using Mac OS, I hadn’t ever seen this before.
The bug “works” too with a control behind, albeit it’s not actionable. I checked with a checkbox, which indeed appeared, but wasn’t clickable (and even looked disabled ).