Tk Source Code

View Ticket
Login
Ticket UUID: 5b49b1de8dc520e77c951cdfaa6a1cbba9442642
Title: Aqua: window manager tests more likely to fail on macOS 14 Sonoma
Type: Bug Version: core-8-6-branch
Submitter: chrstphrchvz Created on: 2023-09-28 00:52:13
Subsystem: 66. Aqua Window Operations Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2023-12-07 03:14:56
Resolution: None Closed By: nobody
    Closed on:
Description:

Note: I am running macOS 14 Sonoma on unsupported hardware (CPU considered too old). So far, I have not notice this lead to any other significant issues building or running Tk Aqua.

Many tests involving window manager operations already use delays to avoid failure due to race conditions. In comparison to Ventura on the same machine, it seems that these race conditions are slightly worse under Sonoma. I find that increasing those delays helps avoid failures under Sonoma, while decreasing them will trigger similar failures under Ventura. The most common failures seem to be in unixWm-51.7, wm-stackorder-2.3, and wm-stackorder-4.3; other tests I have seen fail include tk-5.5, tk-5.6, unixEmbed-11.2, unixWm-51.6, wm-stackorder-2.1, and wm-stackorder-3.6.

User Comments: marc_culler (claiming to be Marc Culler) added on 2023-12-07 03:14:56:
I have adjusted the delays and fiddled with some other strategies, such as
calling tkwait visibility before raising or lowering windows.  I would not
claim that the problem is solved, but I did at least see a test run on
macOS Sonoma with 0 failures.

marc_culler (claiming to be Marc Culler) added on 2023-12-03 18:13:04:
I am seeing these failures on Sonoma as well.