window resizing issues

From: Simon Bowden (simonb@cse.unsw.EDU.AU)
Date: Mon Sep 29 2003 - 03:47:31 EDT

  • Next message: Dom Lachowicz: "Re: Wanted: Abiword on Red Hat 9 HOWTO"

    Hi There,

    I've just had a small look at some wm resizing issues reported
    (particularly wrt fluxbox). My first observation is that abiword is
    setting base_width and base_height in WM_NORMAL_HINTS. I doubt this is the
    intended use, and definitely can easily result in the behaviour described
    in bug #4863 - "Resizing AbiWord2 window confuses various window managers".

    I suspect what you really want is to use the PSize flag, and set width and
    height.

    See the ICCCM for the description of the hints:
    http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.3

    Particularly the part relating to what the WM reports as the size of the
    window when resizing (i and j in the equation).

    Running 'xprop' on my abiword window gives:
    WM_NORMAL_HINTS(WM_SIZE_HINTS):
                    program specified minimum size: 100 by 100
                    program specified resize increment: 1 by 1
                    program specified base size: 1000 by 800
                    window gravity: NorthWest

    simonb@sing:~$ abiword --version
    2.0.0

    (debian pkg: cvs+2003.09.25)

    Now, with that out of the way... the report also mentions that fluxbox
    freaks out in some way when resizing. Yes, there is a fluxbox issue there
    too which I will look into tonight. But fixing it will mean you'll get a
    negative size in fluxbox as well (because of the way abiword is using
    base_width/height).

    Cheers,

     - Simon

    (A Fluxbox Developer)



    This archive was generated by hypermail 2.1.4 : Mon Sep 29 2003 - 04:02:57 EDT