After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 333827 - XShmQueryVersion results are used wrong in case of Imlib_init_with_params
XShmQueryVersion results are used wrong in case of Imlib_init_with_params
Status: RESOLVED WONTFIX
Product: imlib1
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Mark Crichton
Mark Crichton
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2006-03-08 00:31 UTC by Fabian Franz
Modified: 2012-02-24 15:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fabian Franz 2006-03-08 00:31:30 UTC
This leads to corrupted images in NX 1.5.0 session using for example icewm.

Easily fixed using the following patch:

--- misc.c.old  2001-05-29 17:11:26.000000000 +0200
+++ misc.c      2006-03-08 00:29:49.000000000 +0100
@@ -137,6 +137,7 @@
              id->x.last_xim = NULL;
              id->x.last_sxim = NULL;
              id->max_shm = 0x7fffffff;
+             id->x.shmp = 0;
              if ((XShmPixmapFormat(id->x.disp) == ZPixmap) &&
                  (pm == True))
                id->x.shmp = 1;
@@ -690,7 +691,9 @@
              id->x.last_xim = NULL;
              id->x.last_sxim = NULL;
              id->max_shm = 0x7fffffff;
-             if (XShmPixmapFormat(id->x.disp) == ZPixmap)
+             id->x.shmp = 0;
+             if ((XShmPixmapFormat(id->x.disp) == ZPixmap) &&
+                 (pm == True))
                id->x.shmp = 1;
            }
        }

cu

Fabian
Comment 1 André Klapper 2012-02-24 15:30:26 UTC
According to http://ftp.gnome.org/pub/GNOME/sources/imlib/ the last tarball release was on 24-Sep-2004.
Same for the last code commit: http://git.gnome.org/browse/archive/imlib/log/

Hence this application has been unmaintained for quite a while and its maintainer will not work on it soon. Please feel free to reopen this bug report
in the future if anyone takes the responsibility for active development.