[haiku-bugs] Re: [Haiku] #9809: Terminal uses incorrect line count after adding new tab

  • From: "siarzhuk" <trac@xxxxxxxxxxxx>
  • Date: Sun, 02 Jun 2013 12:20:09 -0000

#9809: Terminal uses incorrect line count after adding new tab
-------------------------------------+-------------------------
   Reporter:  ThFabba                |      Owner:  jackburton
       Type:  bug                    |     Status:  new
   Priority:  low                    |  Milestone:  R1
  Component:  Applications/Terminal  |    Version:  R1/alpha4.1
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+-------------------------

Comment (by siarzhuk):

 Just to clear:

 - Start Terminal;
 {{{
 ~> tput lines
 ~> 37
 }}}
 - <Alt-T>
 {{{
 ~> tput lines  # second tab
 ~> 36
 }}}
          That is OK - the tabline was added above and height of terminal
 view was decreased.
 - <Alt-1>
 {{{
 ~> tput lines  # first tab
 ~> 37
 }}}
           That is wrong - the height must be adjusted because change of
 viewport's height too.

 Looks like corresponding window size change signal is not send to the
 first tab's application after adding/removing tabs.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9809#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: