|
From: Marc C. <cul...@gm...> - 2026-06-01 19:37:55
|
On Mon, Jun 1, 2026, 2:05 PM Paul Obermeier <pa...@po...> wrote: > Well, macOS may return whatever color it means is useful. > It should just be the same when using Tk 8.6.18, 9.0.3 or 9.0.4. > I am not so sure about that. There were changes in Tk 9 to make it more consistent in how colorspaces are used. Tk 9 is allowed to make changes that are not compatible with Tk 8. - Marc > Paul > > Am 31.05.2026 um 15:02 schrieb Marc Culler: > > I can confirm that the script prints 0 0 245 on an m3 macbook air running > macOS 26. > > However, that result is not exactly wrong, or not in the way you might > guess. The Apple ColorPicker.app also reports the color as (0, 0, 245). > So Tk is reporting the actual color showing on the screen. Perhaps this > has something to do with which colorspace is being used when doing the > rendering. > > - Marc > > On Sat, May 30, 2026 at 11:03 AM Paul Obermeier <pa...@po...> wrote: > >> Builds fine and Tcl/Tk test suites running successfully (with the usual 3 >> Windows exceptions) on the following platforms: >> MacOS 15.7.1 M2 clang 17.0.0 >> Suse 15.6 x86_64 gcc 7.5.0 >> Debian ARM arm64 gcc 12.2.0 >> Windows 11 x86 gcc 14.2.0 >> Windows 11 x86_64 gcc 14.2.0 >> Windows 11 x86_64 VS2022 >> >> I noticed a strange behaviour using Tk 9.0.4 and the Img extension on >> macOS: >> The attached script draws a blue rectangle into a canvas and grabs the >> canvas content into a photo image using the "window" format of Img. >> With Tk 8.6.18 and 9.0.3 this returns the correct color value (0,0,255). >> Using 9.0.4 it returns (0,0,245). Happens only on macOS. >> Can anybody please confirm this behaviour? >> >> Regards, >> Paul >> >> Am 29.05.2026 um 19:59 schrieb Donald G Porter via Tcl-Core: >> > >> > Now available at >> > >> > https://sourceforge.net/projects/tcl/files/Tcl/9.0.4 >> > >> > are RC0 candidate source code distribution pre-releases of Tcl 9.0.4. >> > These are the first candidate releases leading to the release of Tcl >> 9.0.4 >> > >> > The Tcl pre-release includes a pre-release of the package Thread 3.0.5. >> > The released packages Itcl 4.3.7, TDBC* 1.1.13, and sqlite3 3.53.0 are >> also included. >> > >> > Please test these candidates on your platforms and report any blocking >> issues >> > you discover. >> > >> > Thank you for your contributions and assistance. >> > >> _______________________________________________ >> Tcl-Core mailing list >> Tcl...@li... >> https://lists.sourceforge.net/lists/listinfo/tcl-core >> > > > _______________________________________________ > Tcl-Core mailing lis...@li...://lists.sourceforge.net/lists/listinfo/tcl-core > > > |