From: Torsten B. <be...@ty...> - 2024-09-20 06:16:24
|
Hi, this is an Aqua build (I do not use XQuartz anymore). Yes, I ran this in a wish session of its own also, in order to understand what the values were. I have two displays and that could be related to the phenomenon. I remember having seen this reported as an issue before an I am quite sure the CI runner will not cover such situations. The display on which the window is, has 3840x2160 pixels, the other display has 2560x1140. [wm maxsize .t] reports "5120 1412" while [winfo screenwidth .] gives 2560 and [winfo screenheight .] gives 1440 when the session is started on the first display. So the screenwidth/height is the one from the other display, not the one where the window is located. Moving the window over to the other display doesn't change the values when I issue the commands again after moving the window over to the other display. By the way, the exact same thing happens with my older Tcl/Tk 8.6.13. Regards, Torsten > Am 19.09.2024 um 22:53 schrieb Francois Vogel <fvo...@fr...>: > > Hi, > > Do you see these failures with an aqua build or with an XQuartz build? > > The CI runners do not show these failures (for both build types), but they are running macOS-12 (Monterey), not 13 (Ventura). > > https://github.com/tcltk/tk/actions/workflows/mac-build.yml?query=branch%3Amain > > No idea about the causes, sorry. Did you try to run the code of, say, wm-maxsize-1.7 in a wish session? What's the maxsizes and screensizes returned? > > Francois > > Le 19/09/2024 à 10:36, Torsten Berg a écrit : >> Hi, >> >> running the test suite on a Mac mini (M1 processor from 2020) with macOS Ventura 13.6.9: >> >> - all tests pass for Tcl >> >> - three failures for Tk: the first two do not seem to be related to Tk, for the third is weird and I can't see why maxsize reports values bigger than the scree size. However, this does not seem too critical, or? >> >> ==== treetags-2.1 Events delivered to tags FAILED >> ==== Contents of test case: >> >> focus -force $tv ; update ;# needed so [event generate] delivers Key >> $tv focus item1 >> event generate $tv <a> >> set ::KEY >> >> ---- Test generated error; Return code was: 1 >> ---- Return code should have been one of: 0 2 >> ---- errorInfo: can't read "::KEY": no such variable >> while executing >> "set ::KEY" >> ("uplevel" body line 5) >> invoked from within >> "uplevel 1 $script" >> ---- errorCode: TCL LOOKUP VARNAME ::KEY >> ==== treetags-2.1 FAILED >> >> >> >> ==== treetags-2.2 Events delivered to correct tags FAILED >> ==== Contents of test case: >> >> $tv tag bind tag2 <Key> [list set ::KEY2 %A] >> >> $tv focus item1 >> event generate $tv <b> >> $tv focus item2 >> event generate $tv <c> >> >> list $::KEY $::KEY2 >> >> ---- Test generated error; Return code was: 1 >> ---- Return code should have been one of: 0 2 >> ---- errorInfo: can't read "::KEY": no such variable >> while executing >> "list $::KEY $::KEY2" >> ("uplevel" body line 9) >> invoked from within >> "uplevel 1 $script" >> ---- errorCode: TCL LOOKUP VARNAME ::KEY >> ==== treetags-2.2 FAILED >> >> >> >> ==== wm-maxsize-1.7 maxsize must be <= screen size FAILED >> ==== Contents of test case: >> >> toplevel .t >> lassign [wm maxsize .t] t_width t_height >> set s_width [winfo screenwidth .t] >> set s_height [winfo screenheight .t] >> expr {($t_width <= $s_width) && ($t_height <= $s_height)} >> >> ---- Result was: >> 0 >> ---- Result should have been (exact matching): >> 1 >> ==== wm-maxsize-1.7 FAILED >> >> >> >> >> >> >>> Am 18.09.2024 um 21:32 schrieb Donald G Porter via Tcl-Core <tcl...@li...> <mailto:tcl...@li...>: >>> >>> >>> Now available at >>> >>> https://sourceforge.net/projects/tcl/files/Tcl/9.0.0/ >>> >>> are RC1 candidate source code distribution pre-releases of Tcl and Tk 9.0.0 >>> >>> This is the second of a sequence of candidate releases leading to the release of >>> Tcl/Tk 9.0.0. Testing of builds and operations on multiple platforms is invited. Open >>> tickets on any problems discovered, or raise the issue in a reply to this message. >>> >>> The Tcl pre-release includes pre-releases of the packages Thread 3.0.0 and Itcl 4.3.1. >>> The same level of vetting on them is also appreciated. The released packages >>> sqlite 3.45.3 and TDBC* 1.1.9 are also included. >>> >>> Several fixes and improvements brought to light under examination of the RC0 >>> release candidates are in these new offerings. >>> >>> Thank you for your contributions and assistance. >>> >>> -- >>> | Don Porter Applied and Computational Mathematics Division | >>> | don...@ni... <mailto:don...@ni...> Information Technology Laboratory | >>> | http://math.nist.gov/~DPorter/ NIST | >>> |______________________________________________________________________| >>> >>> >>> >>> _______________________________________________ >>> Tcl-Core mailing list >>> Tcl...@li... <mailto:Tcl...@li...> >>> https://lists.sourceforge.net/lists/listinfo/tcl-core >> >> >> >> >> >> _______________________________________________ >> Tcl-Core mailing list >> Tcl...@li... <mailto:Tcl...@li...> >> https://lists.sourceforge.net/lists/listinfo/tcl-core |