Package: fvwm
Version: 1:2.5.21-1+b1
Severity: normal

Some menu files in /usr/share/menu specify icons without giving their full path.
Apparently, /usr/share/pixmaps is the default location for these icon files.
fvwm fails to find them and floods ~./xsession-errors with messages:

[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from dosemu32x24.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from camera
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from pcb.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from 
freqtweak_logo32x18.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from gnomeradio.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from gnome-mastermind.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from dosemu32x24.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from camera
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from pcb.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from 
freqtweak_logo32x18.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from gnomeradio.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from gnome-mastermind.xpm
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from camera
[FVWM][scanForPixmap]: <<WARNING>> Couldn't load image from camera

fvwm creates individual messages multiple times, which might be a bug on it's
own. In the example above, e.g. "pcb.xpm" is reported twice, "camera" 4 times.

I have tried to fix this by appending /usr/share/pixmaps to fvwm's image path,
which didn't work:

~/.fvwm/config:
ImagePath +:/usr/share/pixmaps

Setting the complete path also failed:
ImagePath /usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/pixmaps

It looks like the ImagePath directive is broken, or parsed after icons are
loaded.

When I modify the menu files, e.g. /usr/share/menu/pcb to reflect the full
path; ( icon="/usr/share/pixmaps/pcb.xpm" ) instead of ( icon="pcb.xpm" ),
fvwm finds the icon file and doesn't print messages to ~./xsession-errors
any more for this icon.

I am not sure about the proper way to fix this, but I can think of three
options:
(1)     Include /usr/share/pixmaps with fvwm's ImagePath per compile default.
(2)     Only allow full absolute paths in menu files. A lot of packages would
        need to be fixed then. I don't know what Debain policy says about this.
(3)     Fix the ImagePath directive (if it is truely broken) and include
        /usr/share/pixmaps in the default config file.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-4-p4pe (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages fvwm depends on:
ii  debconf [debconf-2.0]   1.5.14           Debian configuration management sy
ii  libc6                   2.6.1-1+b1       GNU C Library: Shared libraries
ii  libfontconfig1          2.4.2-1.2        generic font configuration library
ii  libfreetype6            2.3.5-1+b1       FreeType 2 font engine, shared lib
ii  libfribidi0             0.10.7-4         Free Implementation of the Unicode
ii  libglib1.2ldbl          1.2.10-19        The GLib library of C routines
ii  libgtk1.2               1.2.10-18.1      The GIMP Toolkit set of widgets fo
ii  libice6                 2:1.0.4-1        X11 Inter-Client Exchange library
ii  libncurses5             5.6+20071013-1   Shared libraries for terminal hand
ii  libpng12-0              1.2.15~beta5-3   PNG library - runtime
ii  libreadline5            5.2-3            GNU readline and history libraries
ii  librplay3               3.3.2-11         Shared libraries for the rplay net
ii  libsm6                  2:1.0.3-1+b1     X11 Session Management library
ii  libstroke0              0.5.1-6          mouse strokes library -- runtime f
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  libxft2                 2.1.12-2         FreeType-based font drawing librar
ii  libxi6                  2:1.1.3-1        X11 Input extension library
ii  libxinerama1            1:1.0.2-1        X11 Xinerama extension library
ii  libxpm4                 1:3.5.7-1        X11 pixmap library
ii  libxrender1             1:0.9.4-1        X Rendering Extension client libra
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

Versions of packages fvwm recommends:
ii  fvwm-icons                  2001.08.13-6 XPMs icons from fvwm development s

-- debconf information:
  fvwm/upgrade/pre_2.5.8: false



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to