Hello,

I have tried to debug, but I don't know if this bug comes from windowmaker itself.

cauchy:[~/windowmaker/Windowmaker] > diff -u ../Windowmaker-orig/src/application.c src/application.c --- ../Windowmaker-orig/src/application.c 2008-12-15 04:59:05.000000000 +0100
+++ src/application.c   2009-09-11 11:04:22.000000000 +0200
@@ -244,6 +244,16 @@
     return True;
 }

+static void
+getSize1(Drawable d, unsigned int *w, unsigned int *h, unsigned int *dep)
+{
+       Window rjunk;
+       int xjunk, yjunk;
+       unsigned int bjunk;
+
+       XGetGeometry(dpy, d, &rjunk, &xjunk, &yjunk, w, h, &bjunk, dep);
+}
+

 WApplication*
 wApplicationCreate(WWindow *wwin)
@@ -403,6 +413,11 @@
if (tmp && strstr(tmp, "Library/WindowMaker/CachedPixmaps")!=NULL &&
             stat(tmp, &dummy)!=0 && errno==ENOENT) {
             wmessage(_("recreating missing icon '%s'"), tmp);
+
+unsigned int h, w, d;
+getSize1(wapp->app_icon->icon->pixmap, &h, &w, &d);
+printf("%u %u\n", h, w);
+
             path = wIconStore(wapp->app_icon->icon);
             if (path) {
                 wfree(path);

        When I delete all openoffice icons, wmaker returns :

cauchy:[~/windowmaker/Windowmaker/src] > wmaker
wmaker warning: could not find icon file "/import/home/bertrand/GNUstep/Library/WindowMaker/CachedPixmaps/iceape-bin.Iceape-bin.xpm" wmaker: recreating missing icon '/import/home/bertrand/GNUstep/Library/WindowMaker/CachedPixmaps/iceape-bin.Iceape-bin.xpm'
64 64
wmaker warning: could not find icon file "/import/home/bertrand/GNUstep/Library/WindowMaker/CachedPixmaps/iceape-bin.Iceape-bin.xpm"
xscreensaver: 11:04:43: already running on display :0.0 (window 0x1a0000e)
 from process 26309 (bertr...@cauchy).
wmaker warning: could not find icon file "/home/bertrand/GNUstep/Library/WindowMaker/CachedPixmaps/VCLSalFrame.OpenOffice.org 3.1.xpm" wmaker: recreating missing icon '/home/bertrand/GNUstep/Library/WindowMaker/CachedPixmaps/VCLSalFrame.OpenOffice.org 3.1.xpm'
64 64

Bug comes from icon size. Openoffice's icon size is 48x48 and not 64x64. I don't understand why these sizes are broken. Any idea ?

        Regards,

        JKB



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to