Terminal: Show / Hide of the tab bar changes the window size

Number:rdar://40981957 Date Originated:2017-09-25
Status:Closed Resolved:2018-10-09
Product:Terminal Product Version:2.8.2
Classification:Bug Reproducible:Always


When you open a second tab, and the tab bar apperas, you loose 3 rows. Say you where running 80x24, after opening the second tab, your terminal are now 80x21. But it gets worse: when you close the second tab and the tab bar disappears, the window size is changed to 80x23 – at least you tried, Apple.

I have a workaround for this, which is to always run with the tab bar shown. But to get 80x24 when I do that, I need to configure Window Size under Preferences > Profiles > Windows to use 27 Rows, otherwise, it starts as 80x21.

The video below is using Terminal Version 2.8 (400) (macOS 10.13.3), but the behaviour is the same in Terminal Version 2.8.2 (404) (macOS 10.13.4).

Steps to Reproduce:

* Configure Terminal via Preferences > Profiles > Windows to use a Window Size of 80 Columns and 24 Rows and to show Dimensions in the Title
* Open a new window, observe that the dimensions is 80x24
* Open up a new tab or use View > Show Tab Bar

Expected Results:

The dimensions of the window does not change.

Actual Results:

The dimensions of the window changed to 80x21.


macOS High Sierra Version 10.13.4
Terminal Version 2.8.2 (404)




Fixed in macOS Mojave Version 10.14.

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!