Matt Kraai a écrit :
Package: gnome-terminal
Version: 2.8.2-2
Severity: normal

When I have multiple tabs open, zooming in or out in one tab causes a
the application in the other tabs to receive SIGWINCH.

Hi,

I can confirm this bug : not only the hidden applications receive a SIGWINCH, but their terminal size changes while they are hidden and it recovers its original size when the tab becomes visible again.


Here is a simple way do demonstrate this : - open at least two tabs (with a mere bourne shell)

- execute the command below in each of them :
$ trap "stty -a | head -1" SIGWINCH

- Zoom (ctrl-+) in one of them

- Switch from one tab to one another

Here is an example of what can be observed :
speed 38400 baud; rows 59; columns 270; line = 0;
speed 38400 baud; rows 46; columns 197; line = 0;
speed 38400 baud; rows 59; columns 270; line = 0;
speed 38400 baud; rows 46; columns 197; line = 0;


Since every tab has its own pts device, I don't see any good reason why the terminal size should change for the hidden applications. gnome-terminal should check against terminal size changes only when the tab is visible, or becomes visible again.


Regards,

Xavier



Reply via email to