Created attachment 7067 Doing "cat log" on the attached file closes all xfce4-terminal windows Running this command in a xfce4-terminal not only closes the terminal but also closes all other xfce4-terminal windows. $ vim -u NONE -c 'set columns=5000' I don't see a reason for it. I assume it's a bug. Be careful, as it's rather dangerous: it closes terminals where you may have unsaved work! Now if I create a log file like this: $ vim -u NONE -c 'set columns=5000' -cq > log ... then run the cat command: $ cat log It also closes all terminal windows. I attached the "log" file. I see this bug using xfce4-terminal 0.6.3 in xubuntu-14.04. I can try later with a more recent version (xubuntu-16.04). Running the same commands in xterm do now have the bug.
Just adding that the bug also happens in xubuntu-16.04.2 which also uses xfce4-terminal-0.6.3.
For me, the current xfce4-terminal version (which is 0.8.3) doesn't close all its windows but kind of tries to resize the current window; other windows remain fine. I can see similar behavior with gnome-terminal. Your log contains some escaped commands that break terminal window look. Egmont, can you comment on this?
No crash here either. The window manager might easily be relevant, I'm on Unity7 (Ubuntu Yakkety 16.10). The escape sequence \e[8;24;5000t resizes the window to 24x5000 and some window managers might not tolerate it. There was a known bug at one point where this escape sequence could cause a crash, but that was long before Ubuntu 16.04, and needed a vertical resize. I'm not aware of such a bug right now. If it indeed crashes, it would be nice to see a stack trace. (IMO it sucks that such an escape sequence exists at all. VTE doesn't resize itself, it emits a resize-window signal and the container app decides to obey or refuse.)
Sorry, I just realized the bugreport is against xfce-terminal 0.6, and in turn vte-0.28. It's damn obsolete.
Dominique, can you try a 0.8.x version?
Igor wrote: > Dominique, can you try a 0.8.x version? I'll try. Any hints on how to build xfce4-terminal on xubuntu-16.04 or xubuntu-14.04? Are are there binary packages available? (default packages from xubuntu-16.04 being too old).
Try this ppa: https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce4-gtk3
I wasn't able to find a ppa offering xfce4-terminal 0.8.x for 16.04. But, it's definitely possible to build it on 16.04 - you'd need to download the sources, run `./autogen.sh`, install dependencies as needed, and then finally run `make`.
Igor wrote: > But, it's definitely possible to build it on 16.04 - you'd > need to download the sources, run `./autogen.sh`, install > dependencies as needed, and then finally run `make`. It's most certainly possible, but just the configure script of libvte has many dependencies that are not met with my standard packages. There is a dependency hell to build it. Snippet from output of running configure of libvte: === BEGIN QUOTE === configure: error: Package requirements (glib-2.0 >= 2.40.0 gobject-2.0 pango >= 1.22.0 gtk+-3.0 >= 3.8.0 gobject-2.0 gio-2.0 gio-unix-2.0 zlib libpcre2-8 >= 10.21 gnutls >= 3.2.7) were not met: No package 'libpcre2-8' found Requested 'gnutls >= 3.2.7' but version of GnuTLS is 2.12.23 === END QUOTE === I must admit that I don't feel like trying to build all this. The bug this this ticket seems to be fixed anyway if you can't reproduce it with newer xfce4-terminal. That's good enough for me. Thanks!
You don't have to build libvte; installing libvte-2.91-dev should be enough. But there's some dependency resolution work for sure.
For Trusty 14.04, according to my memories you can easily compile VTE version 0.38, the first version new enough for xfce4-terminal. Newer VTE versions have trickier dependencies. For Xenial 16.04, compiling the most recent VTE version should be easy, all the dependencies should be there (maybe under a different package name than what you'd first think, e.g. libpcre2-dev, libgnutls-dev).
Fixed in gtk3 versions.