Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 1746713addacc04a8ae3b98bdd9334bad2b3eb06089843b3e9d9e73b15b59a11
Ticket: 2249e64bdcc759e3db34687bef98668b04a56364
some unixWm tests expect things which are impossible on Aqua
User & Date: marc_culler 2019-02-13 15:46:25
Changes

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/plain"
  4. Change comment to:

    On macOS windows are not allowed to overlap the menubar at the top of the screen. If you ask the Apple window manager to position a window with y-coordinate 0 it will instead position it with y-coordinate equal to 23, the height of the menubar.

    There are a number of unixWm tests which use the wm geometry command to position a window with y-coordinate < 23 and then check, using the wm geometry command, that it actually was placed at the requested position. These cannot pass on macOS.

    In my first round of making the unixWm tests pass on the mac I added code which would essentially lie to Tk in this situation. When a position was requested that would cause a window to overlap the menubar, the position recorded in the wmInfo struct was the requested position, not the actual position where the Apple window manager drew the window.

    This was not a good idea. It would be better to record the actual window position and adjust the tests for Aqua so they are not expecting impossible results.

  5. Change foundin to "8.6.9"
  6. Change is_private to "0"
  7. Change login to "marc_culler"
  8. Change priority to "5 Medium"
  9. Change private_contact to "4a267845b96d18ced148980dad8c23b791785018"
  10. Change resolution to "None"
  11. Change severity to "Minor"
  12. Change status to "Open"
  13. Change submitter to "marc_culler"
  14. Change subsystem to "86. Test Tools"
  15. Change title to:

    some unixWm tests expect things which are impossible on Aqua

  16. Change type to "Bug"