GNOME Bugzilla – Bug 741402
vteapp iconified by screen
Last modified: 2014-12-11 19:24:24 UTC
Start vteapp, inside that start screen (or attach to / detach from a session, or leave screen). Vteapp window is iconified. Addording to the vte/src/window script, \e[2t should iconify the window. That's what xterm does too, and so does vteapp. screen emits \e[22;2t and \e[23;2t. We should understand what these are, and know that these are not meant to iconify. Which is stupid by the way, see bug 685759. Bug seen in vte 0.36/0.38/0.39.
According to http://invisible-island.net/xterm/ctlseqs/ctlseqs.html, these should save/restore the title, as requested in bug 699819.
Created attachment 292545 [details] [review] Fix Quick fix, with an extra bonus :)
This approach is still fragile against similar future additions of escapes. I think the big loop should be dropped, and there should be at most 1 action per such escape sequence. This is also what xterm does, try e.g. echo -ne '\e[13;14t' In xterm it only reports the window location (13) and not the window size (14).
Created attachment 292550 [details] [review] Fix v2
Committed.