#5969: Terminal size is not correct when 2nd tab is added in zoom/fullscreen -----------------------------------+---------------------------------------- Reporter: romain | Owner: jackburton Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/Terminal | Version: R1/alpha2 Keywords: | Platform: All Blockedby: | Patch: 0 Blocking: | -----------------------------------+---------------------------------------- Comment(by romain): Here is another patch. The small values come from the default size of the TermWindow that is set in the TermApp constructor: - TermWindow is created with width/height 50 - TermView is created with default col/row values - TermView is added to TabView -> This resizes the TermView to the size of the TermWindow and attaches it. This is why the first patch changes the terminal size to very small values. - TermWindow is resized with the size of the TermView (when adding the first TermView), that is very small size. This second patch simply resizes the TermWindow before the TermView is added to the window. With this termView::AttachedToWindow is always called with correct bounds. -- Ticket URL: <http://dev.haiku-os.org/ticket/5969#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.