And I should have added that that function's result is based on a luminance computation of this function:
https://docs.racket-lang.org/gui/Windowing_Functions.html?q=get-label-background#%28def._%28%28lib._mred%2Fmain..rkt%29._get-label-background-color%29%29 and the foreground one. So if there is some way you're controlling those that defeats that computation, that might explain why you're getting the bad colors. Robby On Tue, Apr 13, 2021 at 1:41 PM Robby Findler <ro...@cs.northwestern.edu> wrote: > This looks to me like racket believes the OS is in dark mode but it really > isn't. Does this program produce true or false? > > #lang racket > (require mrlib/panel-wob) > (white-on-black-panel-scheme?) > > Robby > > > On Tue, Apr 13, 2021 at 1:38 PM Bruce O'Neel <bruce.on...@pckswarms.ch> > wrote: > >> Hi, >> >> The most recent snapshot version built on Linux x86-64, Arm32, and Arm64 >> all have funny black blocks in the UI of Dr Racket. >> >> While this display was captured from a MacOS X11 server it is the same on >> the Linux X11 servers as well as directly on the console screen. >> >> Thanks. >> >> bruce >> >> [image: Screenshot 2021-04-13 at 20.35.22.png] >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Racket Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to racket-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/racket-users/1618339098-36f9ab5b7d7507d1da5b3d5d4e45a7b0%40pckswarms.ch >> <https://groups.google.com/d/msgid/racket-users/1618339098-36f9ab5b7d7507d1da5b3d5d4e45a7b0%40pckswarms.ch?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAL3TdOMcr7TMhMr4ZkSQTuEJhf%2B7DHZOG1bcPsaxzuqGgO1%2BWg%40mail.gmail.com.