|
From: Kevin W. <kw...@co...> - 2019-09-24 12:29:01
|
Hello all, I've just opened a branch of Tk, "chavez-canvas," that incorporates an extensive patch from Christopher Chavez to make the canvas widget more responsive to system UI changes mainly on Mac and Windows--both of those platforms have a dark UI mode. It accomplishes this mainly by changing some hard-coded color values for backgrounds and lines from black to a system-defined constant, NORMAL_FG. The discussion of the patch is contained at https://core.tcl-lang.org/tk/info/2beda17141. Marc Culler and I have reviewed the patch and it works fine on Mac; you can see the screen shots at the ticket report. I found no failures in the test suite. Can someone build and test this branch on Windows and X11 and see if it works OK, especially with Windows 10 dark theme? Christopher's notes in the ticket say that he has changed a bit of documentation around the canvas widget, but as it pertains to appearance only and does not cause any API changes (and he makes a plausible case that some of the issues he highlights are probably bugs), it's my view that this can be merged without a TIP. I'd like to see it in 8.6.10, but want to make sure there are no dealbreaking issues on Windows or X. Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com |