[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#397624: Color changes on redraw



Package: xterm
Version: 222-1
Severity: normal

        Hi,

 xterm was blinking on start during the period where the package wasn't
 sourcing /etc/X11/app-defaults/XTerm-color due to
 /etc/X11/Xresources/x11-common gone missing.  During this period of
 time, I noticed something which looks like a bug which I can reproduce
 easily:
 1) comment out in /etc/X11/app-defaults/XTerm-color:
    !*VT100*foreground: gray90
    !*VT100*background: black
 2) set reverseVideo, e.g. with your .Xdefaults-$hostname:
    XTerm.VT100.reverseVideo: true
 3) start a program not filling the terminal with data:
    xterm -e sleep 100
 4) switch workspace

 after 3), I get a black xterm window, which honors my settings since I
 asked for reversevideo, but after step 4) which probably triggers a
 redraw, I get a white xterm window.

 This looks like xterm is honoring reverseVideo on startup, but not on
 redraws.

 When *VT100*foreground and *VT100*background are set in
 /etc/X11/app-defaults/XTerm-color, I don't see the bug, presumably
 because these vars are honored on redraw.

 When my terminal was filled with chars at least once, I don't see the
 bug anymore, for example if I launch "xterm -e sh", I get the bug, if I
 type "clear", I don't get the bug anymore.

    Bye,

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages xterm depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libfontconfig1               2.4.1-2     generic font configuration library
ii  libice6                      1:1.0.1-2   X11 Inter-Client Exchange library
ii  libncurses5                  5.5-5       Shared libraries for terminal hand
ii  libsm6                       1:1.0.1-3   X11 Session Management library
ii  libx11-6                     2:1.0.3-2   X11 client-side library
ii  libxaw7                      1:1.0.2-4   X11 Athena Widget library
ii  libxext6                     1:1.0.1-2   X11 miscellaneous extension librar
ii  libxft2                      2.1.8.2-8   FreeType-based font drawing librar
ii  libxmu6                      1:1.0.2-2   X11 miscellaneous utility library
ii  libxt6                       1:1.0.2-2   X11 toolkit intrinsics library
ii  xbitmaps                     1.0.1-2     Base X bitmaps

Versions of packages xterm recommends:
ii  xutils                      1:7.1.ds.3-1 X Window System utility programs

-- no debconf information

-- 
Loïc Minier <lool@dooz.org>



Reply to: