I see this. The problem appears to be that the clipped region is inverted -
i.e. at the wrong end of the pixmap. Also I see wrong behaviour with all
examples. I suspect I am responsible for this since I dorked with the
clipping code quite a bit.
My taxes are in. This can be redisplay week.
andy
-----Original Message-----
From: xemacs-beta-admin(a)xemacs.org
[mailto:xemacs-beta-adminï¼ xemacs.org]On Behalf Of Charles Hines
Sent: Thursday, April 11, 2002 7:14 AM
To: XEmacs Beta List
Cc: Kyle Jones
Subject: redisplay bug(s) with glyphs (was Re: email embedded images
displayed improperly after upgrading VM)
Howdy all.
Ok, after chatting with Kyle Jones about the odd problem I
reported earlier
this week (or was it last week) about the incorrect display of
wide graphics
in XEmacs after updating VM, we decided that a redisplay bug or
two was being
triggered. I have some simple elisp to demonstrate this attached below
(attached below), which displays a short wide pixmap in a couple different
ways (requires XPM support compiled in, obviously). Tested it in
a "clean"
21.4.6 environment like so:
env XUSERFILESEARCHPATH="" xemacs -vanilla -l xemacs-glyph-wrap-bug.el
The elisp will pop up 3 frames, 2 which display the embedded
pixmap correctly
and one which will not. The first frame shows how VM was
originally (v7.00)
inserting the image slices, which displays ok (I believe that the
\n is not
part of the extent that contains the glyph). The 2nd frame shows
how VM is
inserting the slice now (v7.03) where the extent holding the
glyph also holds
a space and a newline (I believe). The 3rd frame which displays
correctly has
the space outside of the extent, and it displays correctly. Now, if you
resize the "bad" example frame so it's wider than the pixmap, the
pixmap is
displayed correctly. Resize it smaller again, displayed bad again.
Also, I noticed something else interesting (i.e. likely another
redisplay bug,
not directly related I'm assuming). If you take and opaquely
move one of the
good windows over the bad window (I'm using fvwm version 2.4.3)
and off again
from left to right, the image does not redraw itself well (correctly or
incorrectly). Going from right to left will redraw itself (correctly, but
still incorrectly repeated) however. The "good" windows exhibit this same
behavior.
And interestingly, if you drag the obscuring window from right to
left (which
as I said causes the image to be redrawn "correctly") but do so
slowly, you'll
see that as the underlying window is exposed that the pixmap is actually
slowly redrawn (corresponding to the movement) from left to right
instead of
from right to left (in the areas already exposed) so it isn't
"correct" until
the obscuring window is moved completely off!
Using this test case, does anyone else observe this same
behavior, either with
21.4.6 or the latest 21.5 stuff? I haven't tried the latter yet...
I'll try it on my Linux box at home tonight too (running 21.4.6
as well) if no
one else sees it to see if it's perhaps something specific to my
Solaris box
here at work.
Thanks,
Chuck
ps - here's the output of report-xemacs-bug, for more info about
my setup, and
the elisp is attached below it:
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS neo 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-60
configure 'sparc-sun-solaris2.7' '--verbose' '--extra-verbose'
'--with-x' '--debug=no' '--error-checking=none'
'--with-scrollbars=lucid' '--with-menubars=lucid'
'--with-dialogs=athena' '--with-widgets=athena'
'--with-athena=xaw' '--with-cde' '--with-mule=no'
'--with-xim=no'
'--with-xpm' '--with-gif' '--with-png' '--with-jpeg'
'--with-xface' '--with-pop' '--with-tooltalk'
'--with-workshop'
'--compiler=/auto/sunos/workshop/bin/cc' '--cflags=-O'
'--dynamic=yes'
'--site-includes=/home/hines/utils/xemacs-extras/include'
'--site-libraries=/home/hines/utils/xemacs-extras/lib'
'--prefix=/home/hines/utils/xemacs-21.4.6-install'
'--bindir=/home/hines/utils/xemacs-21.4.6-install/bin'
XEmacs 21.4.6 "Common Lisp" configured for `sparc-sun-solaris2.7'.
Compilation / Installation:
Source code location: /home/hines/utils/xemacs-21.4.6
Installation prefix:
/home/hines/utils/xemacs-21.4.6-install
Additional header files:
/home/hines/utils/xemacs-extras/include
Additional libraries: /home/hines/utils/xemacs-extras/lib
Runtime library search path: /usr/dt/lib:/usr/openwin/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: /auto/sunos/workshop/bin/cc -O
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include
/usr/openwin/include
- X Windows libraries location: /usr/dt/lib
/usr/openwin/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for Sun WorkShop.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/home/hines/utils/xemacs-beta/lib/xemacs/xemacs-packages/lisp/ps-
print/ps-print
/home/hines/utils/xemacs-beta/lib/xemacs/xemacs-packages/lisp/ps-p
rint-nomule/ps-print)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.06 :type regular)
(xslide :version 1.01 :type regular)
(xemacs-devel :version 1.43 :type single-file)
(xemacs-base :version 1.61 :type regular)
(w3 :version 1.22 :type regular)
(vm :version 7.03 :type regular)
(viper :version 1.33 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.18 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.04 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.32 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.4 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.23 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.02 :type regular)
(sh-script :version 1.14 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.12 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.25 :type regular)
(psgml :version 1.27 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(ps-print :version 1.03 :type regular)
(prog-modes
:version
1
.53
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.6 :type regular)
(pc :version 1.21 :type single-file)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.24 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.14 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.44 :type regular)
(jde :version 1.34 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.2 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.25 :type regular)
(ibuffer :version 1.04 :type regular)
(hm--html-menus :version 1.18 :type regular)
(gnus :version 1.59 :type regular)
(gnats :version 1.14 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.11 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.14 :type regular)
(eudc :version 1.36 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.03 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.28 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.82 :type single-file)
(ediff :version 1.39 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(dictionary :version 1.08 :type regular)
(debug :version 1.14 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.03 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.19 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.05 :type regular)
(bbdb :version 1.2 :type regular)
(auctex :version 1.3 :type regular)
(apel :version 1.21 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 zenirc-autoloads
xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vm-autoloads viper-autoloads
view-process-autoloads vhdl-autoloads vc-cc-autoloads vc-autoloads
tramp-autoloads tpu-autoloads tooltalk-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads rmail-autoloads reftex-autoloads
psgml-autoloads ps-print-nomule-autoloads ps-print-autoloads
prog-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads net-utils-autoloads mmm-mode-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads ibuffer-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads dired-autoloads dictionary-autoloads debug-autoloads
crisp-autoloads cookie-autoloads clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads
Sun-autoloads lisp-autoloads loadhist auto-show fontl-hooks
x-iso8859-1 gutter-items menubar-items x-menubar mode-motion mouse
itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete help-nomule cus-file derived frame text-props obsolete
cus-start custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp sparcworks tooltalk lucid-scrollbars cut-buffer
lucid-menubars athena-dialogs x c-balloon-help tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar dbm md5 xemacs
gutter png gif jpeg xface xpm xbm lisp-float-type usg-unix-v dialog
devices window-system base64)
Recent keystrokes:
-----------------
button1 button1up M-x r e p o r SPC x e SPC SPC RE
T
Recent messages (most recent first):
-----------------------------------
Parsing /home/hines/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
==================================================================
=========