After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 121894 - garbled title: don't use the DEC special character set when parsing window/icon title text
garbled title: don't use the DEC special character set when parsing window/ic...
Status: RESOLVED WONTFIX
Product: vte
Classification: Core
Component: general
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
: 136438 137026 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-09-10 12:36 UTC by Egmont Koblinger
Modified: 2008-12-12 12:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Screenshot (12.60 KB, image/png)
2003-09-10 12:37 UTC, Egmont Koblinger
Details

Description Egmont Koblinger 2003-09-10 12:36:35 UTC
I'm using mc 4.6.0, standing in /x/UB/gnome2-terminal/sources directory,
the other panel is /tmp. Standard settings, 80x24 size etc., mc is
configured to display the current directory in its title. Here I have
the gnome-terminal .tar.gz source. I tap enter on it, the window title
becomes:
mc - /x/UB/gnome2-terminal/sources/gnome-terminal-2.4.0.tar.gz#utar
I use F5 to copy (untar) the source to /tmp. After the end of this
operation, the window title becomes totally screwed up. Uppercase
letters ("UB"), slashes and digits ("2.4.0") are recognizeable, others
are replaced by "LF", "FF", plus-minus, box-drawing etc. characters.
The bug doesn't occur with regular xterm, neither did with gnome-terminal
2.2.x.
Comment 1 Egmont Koblinger 2003-09-10 12:37:27 UTC
Created attachment 19840 [details]
Screenshot
Comment 2 Egmont Koblinger 2003-09-12 21:09:36 UTC
Sorry, it's a vte bug...
Comment 3 Egmont Koblinger 2003-09-23 09:25:20 UTC
So far the title only changed when mc has finished copying.
Now it happened to me that the title changed during copying,
and immediately after this (still when I saw mc's copy progress bars)
gnome-terminal has exited with segfault. Must be some dirty buffer
overrun bug, which occasionally might lead to segfault...
Comment 4 Egmont Koblinger 2003-09-23 10:39:57 UTC
It seems to me now that the segfault issue is not related.
The garbled title is caused by the terminal being in 'tput smacs'
mode (I don't know what it's officially called) when changing the
title.
Try this:
echo     $'\033]0;Normal Window Title\007'
echo $'\016\033]0;Garbled Window Title\007'
Comment 5 Mariano Suárez-Alvarez 2004-01-27 21:37:07 UTC

*** This bug has been marked as a duplicate of 107262 ***
Comment 6 Egmont Koblinger 2004-01-27 22:27:59 UTC
Bug 107262 talks about a segfault case. It redirects me in turn
to bug 120891 where I can find the CVS commit that fixes it.
I've recompiled pango 1.2.5 with that small patch and the segfault
described there is really gone.
But here in this bugreport I'm not talking about segfault,
I'm talking about incorrect title. This bug is still present, and
is not mentioned at all in bug 107262, so I can't see any reason
marking it as either resolved or duplicate of that bug. It's a
different (although maybe related) issue.
Comment 7 Mariano Suárez-Alvarez 2004-04-18 01:21:41 UTC
Updated the summary to point to a solution.
Comment 8 Mariano Suárez-Alvarez 2004-04-18 01:24:10 UTC
*** Bug 136438 has been marked as a duplicate of this bug. ***
Comment 9 Mariano Suárez-Alvarez 2004-04-18 01:27:46 UTC
*** Bug 137026 has been marked as a duplicate of this bug. ***
Comment 10 Behdad Esfahbod 2008-11-29 08:00:50 UTC
Egmont, any docs showing that the title should not be interpreted in alternate charset?
Comment 11 Egmont Koblinger 2008-11-29 09:44:00 UTC
I'm not aware of any relevant docs, I just saw that vte behaved differently than other terminal emulators.
Comment 12 Behdad Esfahbod 2008-11-29 10:19:33 UTC
See bug 112172.  It's not limited to the title string.  Investigating.
Comment 13 Behdad Esfahbod 2008-11-29 19:45:17 UTC
Ok, since there is no evidence that the title should be interpretted differently, I'm dupping this.

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 127870 ***
Comment 14 Behdad Esfahbod 2008-11-29 21:51:08 UTC
Actually I confirmed using xterm that the title is always in the default encoding.
Comment 15 Behdad Esfahbod 2008-11-29 22:21:19 UTC
I'm not sure how to cleanly implement this.  Since the original issue (garbling) is fixed now, I'm closing this bug until someone actually using alternate charsets reports it.
Comment 16 Behdad Esfahbod 2008-12-12 04:22:51 UTC
Actually I now see how to implement it.
Comment 17 Behdad Esfahbod 2008-12-12 12:41:39 UTC
Humm, actually I was wrong :(.