Closing prefs window resizes two-tab window
By gnach... on December 22, 2010 22:31 (imported from Google Code)
What steps will reproduce the problem?
- cmd-n
- cmd-t
- cmd-+
- drag window
- cmd-,
- cmd-w
What is the expected output? What do you see instead?
The window resizes but it should not. Here's a stack trace:
#0 -[PseudoTerminal windowDidResize:] (self=0x11cd1ff00, _cmd=0x7fff8575c698, aNotification=0x11d7e51e0) at /Users/georgen/iterm2/PseudoTerminal.m:802
#1 0x00007fff87b4886e in _nsnote_callback ()
#2 0x00007fff87474aea in __CFXNotificationPost ()
#3 0x00007fff87461098 in _CFXNotificationPostNotification ()
#4 0x00007fff87b3f7d8 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#5 0x00007fff85036222 in -[NSWindow _setFrameCommon:display:stashSize:] ()
#6 0x0000000100010a19 in -[PseudoTerminal fitWindowToTabSize:] (self=0x11cd1ff00, _cmd=0x1000dd470, tabSize={width = 583, height = 364}) at /Users/georgen/iterm2/PseudoTerminal.m:2212
#7 0x000000010000e844 in -[PseudoTerminal fitWindowToTab:] (self=0x11cd1ff00, _cmd=0x1000dd336, tab=0x11ce5eee0) at /Users/georgen/iterm2/PseudoTerminal.m:1920
#8 0x000000010007341f in -[PTYSession setFont:nafont:horizontalSpacing:verticalSpacing:] (self=0x11cdd50a0, _cmd=0x1000df2b0, font=0x114544330, nafont=0x114544330, horizontalSpacing=1, verticalSpacing=1) at /Users/georgen/iterm2/PTYSession.m:1990
#9 0x00000001000700ba in -[PTYSession setPreferencesFromAddressBookEntry:] (self=0x11cdd50a0, _cmd=0x1000dbed0, aePrefs=0x11d867800) at /Users/georgen/iterm2/PTYSession.m:1216
#10 0x000000010001a10c in -[PseudoTerminal(Private) reloadBookmarks] (self=0x11cd1ff00, _cmd=0x1000ddaa2) at /Users/georgen/iterm2/PseudoTerminal.m:3375
#11 0x0000000100064430 in -[PreferencePanel bookmarkSettingChanged:] (self=0x101008000, _cmd=0x1000e4362, sender=0x0) at /Users/georgen/iterm2/PreferencePanel.m:1461
#12 0x0000000100058ccc in -[PreferencePanel handleWindowWillCloseNotification:] (self=0x101008000, _cmd=0x1000e3ff8, notification=0x11d7aa520) at /Users/georgen/iterm2/PreferencePanel.m:231
#13 0x00007fff87b4886e in _nsnote_callback ()
#14 0x00007fff87474aea in __CFXNotificationPost ()
#15 0x00007fff87461098 in _CFXNotificationPostNotification ()
#16 0x00007fff87b3f7d8 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#17 0x00007fff851fe2dc in -[NSWindow _close] ()
#18 0x00007fff852915b8 in -[NSWindow _close:] ()
#19 0x00007fff851a9926 in -[NSApplication sendAction:to:from:] ()
#20 0x00007fff851a9885 in -[NSControl sendAction:to:] ()
#21 0x00007fff852886e8 in -[NSButtonCell performClick:] ()
#22 0x00007fff851a9926 in -[NSApplication sendAction:to:from:] ()
#23 0x00007fff851cde96 in -[NSMenuItem _corePerformAction] ()
#24 0x00007fff851cdc00 in -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] ()
#25 0x00007fff851b3895 in -[NSMenu performKeyEquivalent:] ()
#26 0x00007fff851b263d in -[NSApplication _handleKeyEquivalent:] ()
#27 0x00007fff85083235 in -[NSApplication sendEvent:] ()
#28 0x00000001000b68c5 in -[iTermApplication sendEvent:] (self=0x101820ae0, _cmd=0x7fff85748cb8, event=0x11d7b0800) at /Users/georgen/iterm2/iTermApplication.m:123
#29 0x00007fff8501a0be in -[NSApplication run] ()
#30 0x00007fff85012d8c in NSApplicationMain ()
#31 0x00000001000014c0 in main (argc=1, argv=0x7fff5fbff5d8) at /Users/georgen/iterm2/main.m:16
Please use labels and text to provide additional information.