Package: mcabber
Version: 0.10.2-1
Severity: normal

The module "xttitle" included with mcabber, which changes the title
bar of a terminal window to indicate unread message counts, doesn't work
most of the time.

If you load it as part of the startup of mcabber, you can see it set the
initial default title "MCabber", but it won't update it later. If you
load it interactively after the app is fully running, it does nothing at
all.

I spent quite a bit of time debugging this code, and it appears to be
doing everything it should be doing. It simply uses printf() with the
usual escape codes (ESC]0;) and (\a). Debugging shows that the string is
indeed printed, but the title isn't set. On rare occasions, maybe one
percent of the time, it actually does set the title, or prints the
intended title string into the input buffer area, corrupting the
display.

This used to work under Wheezy. Building older or newer versions of
mcabber doesn't have any effect.

Changing title in other situations (i.e. with PS1 in a shell, or with
echo) still works fine.

Switching to a different terminal emulator has no effect on this
problem.

My suspicion is that some change in ncurses between Wheezy and Jessie
broke this, especially given that the functionality works exactly when
ncurses hasn't taken over the terminal yet. However, I know of no other
ncurses app which includes title-setting functionality, so I can't test
that theory. (Debugging ncurses is beyond my ability.)


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mcabber depends on:
ii  libaspell15      0.60.7~20110707-1.3
ii  libassuan0       2.1.2-2
ii  libc6            2.19-13
ii  libglib2.0-0     2.42.1-1
ii  libgpg-error0    1.17-3
ii  libgpgme11       1.5.1-6
ii  libidn11         1.29-1+b2
ii  libloudmouth1-0  1.4.3-12
ii  libncursesw5     5.9+20140913-1+b1
ii  libotr5          4.1.0-2
ii  libtinfo5        5.9+20140913-1+b1

mcabber recommends no packages.

mcabber suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to