Re: FVWM: Bad Icon bitmap depth

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Fri, 23 May 2003 09:08:36 +0200

On Thu, May 22, 2003 at 10:47:36AM -0600, Sean Seery wrote:
> Hello,
>
> I cannot seem to figure this out so here is my plaintive cry for help:
>
> How do I get fvwm to support bitmaps with a depth of 24? Every time that I
> minimize an application w/such an icon(such as mozilla), fvwm spits out
> the following error:
>
> [FVWM][GetIconBitmap]: <<ERROR>> Window '<some window>' has a bad icon
> bitmap depth 24(should be 1 or 8)! Ignoring icon bitmap.

You can do little about it. The application is specifying an icon
with 24 bitplanes, but your display has only 8 bitplanes. Fvwm
copies the pixmap into the window's icon window which of course
uses only 8 bitplanes.

> I've also tried experimenting w/the -I option setting the visual-id but
> that appears not to have made a difference...
>
> It appears that in a brief, inexperienced perusal of the source code that
> this value is determined by something in XWMHints... I can't seem to find
> any information other than a man page on XWMHints.
>
> Any help would be appreciated.
>
> Some pertinent information:
>
> Solaris 8
>
> fvwm 2.5.6 compiled on May 21 2003 at 08:12:32
> with support for: XPM, PNG, Shape, XShm, SM, NLS
>
> xdpyinfo:(truncated...)
>
> name of display: fletch:0.0
> version number: 11.0
> vendor string: Sun Microsystems, Inc.
> vendor release number: 6410
> maximum request size: 262140 bytes
> motion buffer size: 256
> bitmap unit, bit order, padding: 32, MSBFirst, 32
> image byte order: MSBFirst
> number of supported pixmap formats: 3
> supported pixmap formats:
> depth 1, bits_per_pixel 1, scanline_pad 32
> depth 8, bits_per_pixel 8, scanline_pad 32
> depth 24, bits_per_pixel 32, scanline_pad 32
> keycode range: minimum 8, maximum 132
> focus: window 0x80000d, revert to Parent
>
> Here is the vis-id's I attempted to use:
>
> visual id: 0x2b
> class: DirectColor
> depth: 24 planes
> available colormap entries: 256 per subfield
> red, green, blue masks: 0xff, 0xff00, 0xff0000
> significant bits in color specification: 8 bits
>
> visual id: 0x2d
> class: TrueColor
> depth: 24 planes
> available colormap entries: 256 per subfield
> red, green, blue masks: 0xff, 0xff00, 0xff0000
> significant bits in color specification: 8 bits

Bye

Dominik ^_^ ^_^
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri May 23 2003 - 02:08:13 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST