================================================================
Dear Bug Team!
I'm seeing 2-3 different problems with live-icon on 21.4.14 which I
didn't see on 21.1.14. They may be related; I'm not sure.
1. When I minimize a frame, the image for the frame has the default
XEmacs icon, rather than the miniature image of the frame that
live-icon should generate. I see this with both GNOME 2.0 and with
CDE.
2. Suppose I have two buffers A and B, each in its own frame. I type
"aaa" in buffer A, click in the frame for buffer B, type "bbb",
then minimize the frame using the window manager's toolbar. (I use
"click to type" focus management, if that makes a difference.) At
this point, one of two things happens.
2a. The window manager shows that the frame for buffer A has the
input focus. I type "ccc". Nothing appears in buffer A. If I
restore the frame with buffer B, I see that it has gotten the
"ccc". I've seen this with both CDE and GNOME 2.0. However, I'm
having problems coming up with a reproducible test case using
"xemacs -vanilla", so I assume there's some complication introduced
by my environment. For the moment I'll hope that a fix for 2b
fixes this as well.
2b. I get an error (stack trace below). This is what I get if I'm
using "xemacs -vanilla" and doing M-x load-library RET
live-icon RET before initiating the test.
Signaling: (args-out-of-range #<buffer "b"> 1 6)
narrow-to-region(1 6)
(if (> (window-end) (window-start)) (narrow-to-region (window-start) (1- ...)))
(save-restriction (setq y ny ny (+ ny ...)) (aset pix (- ny 2) (make-string w m)) (widen) (if (> ... ...) (narrow-to-region ... ...)) (goto-char (point-min)) (while (and ... ...) (while ... ... ...) (setq y ...) (forward-line 1)))
(save-window-excursion (select-window win) (save-restriction (setq y ny ny ...) (aset pix ... ...) (widen) (if ... ...) (goto-char ...) (while ... ... ... ...)))
(save-excursion (save-window-excursion (select-window win) (save-restriction ... ... ... ... ... ...)))
(lambda (win) (save-excursion (save-window-excursion ... ...)))(#<window on "b" 0x2ef8>)
mapcar((lambda (win) (save-excursion (save-window-excursion ... ...))) (#<window on "b" 0x2ef8>))
(let* ((w ...) (h ...) (pix ...) (ny 0) (cmv ...) (d ...) (m ...) (x ...) y) (let (...) (while ... ... ...)) (mapcar (function ...) (sort ... ...)) (concat "/* XPM */\nstatic char icon[] = {\n" (format "\"%d %d %d 1\",\n" w ... ...) (mapconcat ... ... ",\n") ",\n" (mapconcat ... pix ",\n") "};\n"))
(save-excursion (select-frame frame) (let* (... ... ... ... ... ... ... ... y) (let ... ...) (mapcar ... ...) (concat "/* XPM */\nstatic char icon[] = {\n" ... ... ",\n" ... "};\n")))
live-icon-from-frame(#<x-frame "emacs" 0x2ef7>)
(set-glyph-image frame-icon-glyph (live-icon-from-frame frame) frame)
(if (frame-property frame (quote balloon-help)) nil (set-glyph-image frame-icon-glyph (live-icon-from-frame frame) frame))
(unless (frame-property frame (quote balloon-help)) (set-glyph-image frame-icon-glyph (live-icon-from-frame frame) frame))
live-icon-one-frame(#<x-frame "emacs" 0x2ef7>)
cheers,
Mike Kupfer mike.kupfer(a)sun.com
XEmacs maintainer, Solaris Companion CD
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS watford-71 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Fire-880
./configure.ccd '--prefix=/opt/sfw' '--without-gif' '--without-ldap' '--with-msw=no' '--mail-locking=lockf' '--site-includes=/home/kupfer/ws/ccd-sparc/proto/root_sparc/opt/sfw/include' '--with-workshop' '--with-tooltalk' '--with-sparcworks'
XEmacs 21.4.14 "Reasonable Discussion" configured for `sparc-sun-solaris2.9'.
Compilation / Installation:
Source code location: /net/watford-71/export/builds/kupfer/ccd-sparc/usr/src/cmd/xemacs/xemacs-21.4.14
Installation prefix: /opt/sfw
Additional header files: /home/kupfer/ws/ccd-sparc/proto/root_sparc/opt/sfw/include
Runtime library search path: /usr/ccs/lib:/usr/openwin/lib:/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.9/2.95.3:/opt/sfw/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: /home/kupfer/ws/ccd-sparc/usr/src/tools/gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow -Wpointer-arith
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/openwin/include
- X Windows libraries location: /usr/openwin/lib
- Handling WM_COMMAND properly.
Compiling in support for Motif.
*WARNING* Many versions of Motif are buggy, requiring workarounds.
You are likely to experience slow redisplay.
You may need to install vendor patches to Motif.
See PROBLEMS for more information.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for DBM.
Internationalization:
Mail:
Compiling in support for "lockf" 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:
----------------------
(/opt/sfw/lib/xemacs/xemacs-packages/lisp/build/build-report
/opt/sfw/lib/xemacs-21.4.14/lisp/build-report)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.08 :type regular)
(xemacs-devel :version 1.58 :type single-file)
(xemacs-base :version 1.78 :type regular)
(x-symbol :version 1.05 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.14 :type regular)
(viper :version 1.36 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.17 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.37 :type regular)
(tramp :version 1.16 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.36 :type regular)
(time :version 1.13 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.63 :type single-file)
(texinfo :version 1.24 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sml-mode :version 0.09 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.13 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(sasl :version 1.13 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.3 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.41 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.83
:type
single-file)
(pgg :version 1.03 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.32 :type single-file)
(oo-browser :version 1.03 :type regular)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.32 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.16 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.15 :type regular)
(mew :version 1.17 :type regular)
(mail-lib :version 1.6 :type regular)
(liece :version 1.12 :type regular)
(jde :version 1.45 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.32 :type regular)
(igrep :version 1.1 :type regular)
(idlwave :version 1.3 :type regular)
(ibuffer :version 1.08 :type regular)
(hyperbole :version 1.12 :type regular)
(hm--html-menus :version 1.21 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.71 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.14 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.09 :type regular)
(fortran-modes :version 1.02 :type single-file)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.38 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.04 :type regular)
(eshell :version 1.05 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 2.07 :type single-file)
(ediff :version 1.47 :type regular)
(edebug :version 1.18 :type regular)
(ecb :version 1.1 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.12 :type regular)
(debug :version 1.16 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.06 :type regular)
(cc-mode :version 1.39 :type regular)
(calendar :version 1.21 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.1 :type regular)
(bbdb :version 1.23 :type regular)
(auctex :version 1.35 :type regular)
(apel :version 1.26 :type regular)
(ada :version 1.13 :type regular)
(Sun :version 1.13 :type regular))
Installed Modules:
-----------------
Features:
--------
(efs-cu mh-comp xemacsbug shadow sendmail rfc822 live-icon font-lock
gnuserv filladapt mh-utils mh-e advice advice-preload xcscope cus-face
vc vc-hooks workshop eserve env pending-del annotations comint ring
sunpro zenirc-autoloads xslt-process-autoloads xslide-autoloads
xemacs-devel-autoloads xemacs-base-autoloads x-symbol-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 sml-mode-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads sasl-autoloads
ruby-modes-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads oo-browser-autoloads ocaml-autoloads
net-utils-autoloads mmm-mode-autoloads misc-games-autoloads
mine-autoloads mh-e-autoloads mew-autoloads mail-lib-autoloads
liece-autoloads jde-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads idlwave-autoloads ibuffer-autoloads
hyperbole-autoloads hm--html-menus-autoloads haskell-mode-autoloads
gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads fortran-modes-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads ess-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecb-autoloads docbookide-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 motif-dialogs x
c-balloon-help tty-frames tty toolbar native-sound scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar berkeley-db dbm md5 xemacs gutter
tiff png jpeg xpm xbm lisp-float-type usg-unix-v dialog devices
window-system base64)
Recent keystrokes:
-----------------
button1 button1up C-x b a RET C-x 5 b b RET button1
button1up a a a button1 button1up b b b c c c button1
button1up button1 button1up button1 button1up BS ESC
x l o a d - l i b RET l i v e - i c o n RET button1
button1up a a a button1 button1up button1 button1up
b b b c c c ESC x r e p o r e t - x C-h C-h C-h C-h
t - x e RET
Recent messages (most recent first):
-----------------------------------
Wrote /home/kupfer/Mail/drafts/2
Loading efs-cu...done
Loading efs-cu...
Composing a message...
Loading mh-comp...done
Loading mh-comp...
Loading xemacsbug...done
Loading xemacsbug...
Loading live-icon...done
Loading live-icon...
Gnuserv process exited; restart with `M-x gnuserv-start'
Restarting gnuserv
Loading vc...done
Loading vc...
Loading xtermkeys...done
Loading xtermkeys...
Loading xhacks...done
Loading mdk-menu...done
Loading mdk-menu...
Loading xhacks...