Menu

#3082 Crash on MoutainLion with negative offset to wm geometry

current: 8.6.0
open
9
2013-03-25
2013-03-24
No

The following script crashes on MountainLion (10.8.3). It works on SnowLeopard and Lion (and other OS).
Used Tcl version is ActiveTcl 8.6.0. Crash report attached.

package require Tk

toplevel .top
label .top.l -text "BallonHelp"
pack .top.l

#wm geometry .top [format "+%d+%d" -40 -40] ; # This works
wm geometry .top [format "+%d+%d" -50 -50] ; # This fails

Discussion

  • Paul Obermeier

    Paul Obermeier - 2013-03-24

    Crash report MountainLion

     
  • Donal K. Fellows

    • assigned_to: chengyemao --> wordtech
    • priority: 5 --> 9
    • labels: 318674 --> 66. Aqua Window Operations
     
  • Donal K. Fellows

    Looks like OSX-ML doesn't like mapping windows that are entirely off-screen. That's highly unfortunate as that's otherwise a good technique for handling the case where you need a window to update itself through a few rounds of event loop processing before showing it to the user (i.e., this is a technique that a number of user scripts in the wild use).