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. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed 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. foundin changed to: "8.6.9"
  6. is_private changed to: "0"
  7. login: "marc_culler"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "4a267845b96d18ced148980dad8c23b791785018"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "marc_culler"
  14. subsystem changed to: "86. Test Tools"
  15. title changed to:
    some unixWm tests expect things which are impossible on Aqua
    
  16. type changed to: "Bug"