Bug#258886: metacity: Antialiased xterm not refreshing properly
when switching workspace
Steven Yap
Steven Yap <syap@shaw.ca>, 258886@bugs.debian.org
Sun, 11 Jul 2004 16:59:54 -0700
Package: metacity
Version: 1:2.8.1-3
Severity: normal
I'm running Debian unstable with xterm package version 4.3.0.dfsg.1-6
and metacity package version 1:2.8.1-3.
I've noticed that if I run an xterm with an antialiased font, switching
workspaces through metacity's keyboard shortcuts leaves the xterm's
screen incorrectly updated. Specifically, I'll get blank areas.
Here's how to reproduce it:
1. Start xterm with xterm -fa "andale:size=9".
2. Do an 'ls' to fill the xterm with content.
3. Position the xterm so that metacity's "workspace popup"
will obscure the content of the xterm.
4. Switch to the next workspace using the keys assigned to the
"switch to workspace left/right" options (in my case Alt-Ctrl-Left &
Alt-Ctrl-Right).
5. Switch back to the previous workspace.
6. Once the "workspace popup" has gone away, there'll be a blank
rectangular space where the xterm content should be.
The above procedure is the most consistent behaviour. Switching using
the "switch to workspace x" where x is a target workspace also shows
similar behaviour but inconsistently.
Switching workspaces using the mouse to click on the workspace switcher
applet does not seem to exhibit this behaviour.
I've tried other window managers (icewm, kwin, sawfish, xfwm) which
display a popup of sorts when switching workspaces or windows, but in
every case, the antialiased xterm refreshed its screen correctly.
gnome-terminal does not exhibit this problem with metacity however,
and neither does a non-antialiased xterm.
Bug #199559 in the BTS seems to suggest that this behaviour may be
related to xterm's usage of backing store and/or save unders. Is there
a way for me to find out whether an antialiased xterm is using backing
store and/or save unders?
Steven
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7
Locale: LANG=en_CA, LC_CTYPE=en_CA
Versions of packages metacity depends on:
ii libatk1.0-0 1.6.1-2 The ATK accessibility toolkit
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libgconf2-4 2.6.2-1 GNOME configuration database syste
ii libglib2.0-0 2.4.2-1 The GLib library of C routines
ii libgtk2.0-0 2.4.3-3 The GTK+ graphical user interface
ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
ii libmetacity0 1:2.8.1-3 Common library of lightweight GTK2
ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.4.0-4 Layout and rendering of internatio
ii libpopt0 1.7-4 lib for parsing cmdline parameters
ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management
ii libstartup-notification0 0.6-2 library for program launch feedbac
ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii libxrandr2 4.3.0.dfsg.1-6 X Window System Resize, Rotate and
ii sgml-base 1.25 SGML infrastructure and SGML catal
ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m
-- no debconf information