Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Be aware of a shrinking Terminal window bug Apps
When you close the second-to-last tab in Terminal, the window loses one row. For example, 24x80 becomes 23x80.

You can repeatedly open (Command-T) and close (Command-W) the second tab, you will shrink the Terminal window continuously, until it's down to five rows (but it won't get any smaller than that).
    •    
  • Currently 1.17 / 5
  You rated: 1 / 5 (6 votes cast)
 
[7,156 views]  

10.5: Be aware of a shrinking Terminal window bug | 11 comments | Create New Account
Click here to return to the '10.5: Be aware of a shrinking Terminal window bug' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Be aware of a shrinking Terminal window bug
Authored by: S on Aug 03, '09 08:05:34AM

Um. Mine works. With or without the tab bar shown. Modified Pro theme.



[ Reply to This | # ]
10.5: Be aware of a shrinking Terminal window bug
Authored by: gabester on Aug 03, '09 08:11:03AM

Mine, a custom theme, stops shrinking with 5 rows left.



[ Reply to This | # ]
10.5: Be aware of a shrinking Terminal window bug
Authored by: tfoutz99 on Aug 03, '09 08:14:07AM

Odd, I think the bug relates to the Font Size in settings. It seems to only show up with 12 pt font (Monaco in my case). It doesn't appear with 10,11,or 13 pt font, oddly enough...



[ Reply to This | # ]
10.5: Be aware of a shrinking Terminal window bug
Authored by: fracai on Aug 03, '09 08:25:44AM
This is MacOS X Hints. I think you were looking for http://bugreport.apple.com ;-)

---
i am jack's amusing sig file

[ Reply to This | # ]

10.5: Be aware of a shrinking Terminal window bug
Authored by: markom on Aug 03, '09 08:59:55AM

This must be specific to some preference. I have just tried this with my Terminal.app and it behaved just fine. I even tried (as suggested in one of the comments) to set the font size to 12 and still it worked properly. Needless to say, I'm not too keen on reproducing this particular bug... :-)

For all of those concerned, you may wish to look into iTerm as a replacement for Terminal.app. It's quite good.



[ Reply to This | # ]
10.5: Be aware of a shrinking Terminal window bug
Authored by: systemsboy on Aug 03, '09 09:01:26AM

The problem comes from the window resizing due to the sudden disappearance of the tab bar. If you keep "Show Tab Bar" enabled this problem is eliminated.

-systemsboy



[ Reply to This | # ]
10.5: Be aware of a shrinking Terminal window bug
Authored by: ScottTFrazer on Aug 03, '09 09:31:20AM

I can't reproduce this with my Terminal. Basic Theme with Consolas 14pt font



[ Reply to This | # ]
No shrinking here either
Authored by: hamarkus on Aug 03, '09 11:32:14AM

Everything is default, no custom theme.
(10.5.7, Intel).



[ Reply to This | # ]
10.5: Be aware of a shrinking Terminal window bug
Authored by: guns on Aug 03, '09 11:57:55AM

Submit a bug to bugreport.apple.com: I sent this in earlier this year:

---

04-Jan-2009 11:41 PM Sung Pae:
Summary:

Terminal.app incorrectly sets shell window dimensions on opening and closing tabs, resulting in a progressively smaller terminal window.

This problem is related to the application's recalculation of the window size when closing a tab, leaving only one tab open. If the tab bar is set to be hidden when unnecessary, the application's window size decreases by the size of the tab bar, but also resets the shell dimensions, shrinking the size of the window by one row.

Font and font-size settings affect this bug. Certain fonts and font-sizes do not change the shell window dimensions on tab close, but others do.


Steps to Reproduce:

Create a new Terminal window and change the default font to either:

Monaco 12pt
Courier 12pt

Other font/font-size combinations work too. Also, make sure that the tab bar is set to be hidden when there is only one tab open (Command-Shift-T toggles this setting).

Open one tab and then close it. Do it again repeatedly to watch the window shrink in size one line at a time.


Expected Results:

Hiding the tab bar should not have changed the shell window dimensions.


Actual Results:

When the tab bar disappears after the penultimate tab closes, the shell dimensions shrink by one row.


Regression:

This problem does not occur when using certain font/font-sizes (10pt Monaco and 10pt Courier for example). This issue can also be circumvented by showing the tab bar at all times.



[ Reply to This | # ]
10.5: Be aware of a shrinking Terminal window bug
Authored by: Anonymous on Aug 06, '09 09:44:28AM

The bug you reported seems to be identical to the one identified here. Maybe you meant to say "Don't bother submitting a bug report -- I already did it."?



[ Reply to This | # ]
10.5: Be aware of a shrinking Terminal window bug
Authored by: mdirwin on Aug 03, '09 12:57:06PM

It's related to the font and the font size for some fonts.



[ Reply to This | # ]