Re: [racket-users] Something is going slightly wrong visually with the Linux version

2021-04-13 Thread Robby Findler
Right -- looks like I was barking up the wrong herring. Robby On Tue, Apr 13, 2021 at 2:00 PM Bruce O'Neel wrote: > Hi, > > I think that the label foreground and background colours are ok. > > #lang racket > (require racket/gui/base) > (define bg (get-label-background-color)) > (define fg (get

Re: [racket-users] Something is going slightly wrong visually with the Linux version

2021-04-13 Thread Bruce O'Neel
Hi, I think that the label foreground and background colours are ok. #lang racket (require racket/gui/base) (define bg (get-label-background-color)) (define fg (get-label-foreground-color)) Produces > (send bg red) 255 > (send bg green) 255 > (send bg blue) 2

Re: [racket-users] Something is going slightly wrong visually with the Linux version

2021-04-13 Thread Matthew Flatt
My guess (will investigate) is that I broke things with this commit: https://github.com/racket/draw/commit/a6558bdc18438e784c23d452ffd877dac867a7fd At Tue, 13 Apr 2021 13:41:45 -0500, Robby Findler wrote: > This looks to me like racket believes the OS is in dark mode but it really > isn't. Does

Re: [racket-users] Something is going slightly wrong visually with the Linux version

2021-04-13 Thread Bruce O'Neel
Thanks.  Since I do this often at night I thought the same at first.  I get the same during daytime. The program produces #f cheers bruce -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this grou

Re: [racket-users] Something is going slightly wrong visually with the Linux version

2021-04-13 Thread Robby Findler
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 i

Re: [racket-users] Something is going slightly wrong visually with the Linux version

2021-04-13 Thread Robby Findler
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 wrote: > Hi, > > The most recent snapshot version