Package: fvwm
Version: 1:2.5.17-1
Severity: minor

The style "TileCascadePlacement" starts cascading windows, although there
is enough space to tile them.
Details
-------

(Window manager started with "fvwm -f /dev/null")

1. Start "xterm -geometry -0+0" (or just any other X client), this will
   put xterm in the upper right corner.

2. Start "xclock -geometry +0+0" (or any other X client with 1-pixel
   size increments), this will put xclock in the upper left corner.

3. Now adjust xclock's width to exactly fill the space between the left
   edge of the screen and the left side of the xterm. Check with xzoom
   that the two windows are exactly adjacent, neither overlapping nor
   leaving a gap. To be sure, also adjust xclock's height to fill the
   complete screen height (no pixel accuracy needed here).

   The screen should look like this now:
   
   +-------------------------------------+
   |+---------------------++------------+|
   ||                     ||            ||
   ||                     ||   xterm    ||
   ||                     ||            ||
   ||                     ||            ||
   ||        xclock       |+------------+|
   ||                     |              |   
   ||                     |              |   
   ||                     |              |   
   ||                     |              |   
   ||                     |              |   
   |+---------------------+              |
   +-------------------------------------+

4. Close the xterm.

5. Start another xterm, this time without geometry parameter. Fvwm
   /should/ place it exactly where the xterm before was: In the upper
   right corner, because the xclock is placed and sized in a way to
   leave exactly the room needed for an xterm. /Instead/, Fvwm places
   the window somewhere near the upper left corner, as it would with
   CascadePlacement. With ExplainWindowPlacement, Fvwm then prints:

   ,----
   |
   | [FVWM][__explain_placement]: placed new window 0x140000e 'xterm':
   |   initial size 498x346
   |   desk 0 (current desk)
   |   current page
   |   position 96 192, placed by fvwm (normal placement)
   |     placement method: TileCascade
   |     (tile placement failed)
   |
   `----

6. Close the xterm.

7. Decrease xclock's width by 1 pixel.

8. Start another xterm, also without geometry parameter. This time, Fvwm
   will correctly place it in the upper right corner, leaving a horizontal
   gap of 1 pixel between its right side and the right screen edge. Fvwm
   prints:

   ,----
   |
   | [FVWM][__explain_placement]: placed new window 0x140000e 'xterm':
   |   initial size 498x346
   |   desk 0 (current desk)
   |   current page
   |   position 781 0, placed by fvwm (normal placement)
   |     placement method: TileCascade
   |
   `----

This happens with all possible values for EdgeThickness (0|1|2).


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages fvwm depends on:
ii  debconf [debconf-2.0]       1.5.3        Debian configuration management sy
ii  gdk-imlib11                 1.9.14-30    imaging library for use with gtk
ii  libc6                       2.3.6.ds1-4  GNU C Library: Shared libraries
ii  libfontconfig1              2.3.2-7      generic font configuration library
ii  libfreetype6                2.2.1-2      FreeType 2 font engine, shared lib
ii  libfribidi0                 0.10.7-3     Free Implementation of the Unicode
ii  libglib1.2                  1.2.10-10.1  The GLib library of C routines
ii  libgtk1.2                   1.2.10-18    The GIMP Toolkit set of widgets fo
ii  libice6                     1:1.0.0-3    X11 Inter-Client Exchange library
ii  libncurses5                 5.5-2        Shared libraries for terminal hand
ii  libpng12-0                  1.2.8rel-5.2 PNG library - runtime
ii  libreadline5                5.1-7        GNU readline and history libraries
ii  librplay3                   3.3.2-11     Shared libraries for the rplay net
ii  libsm6                      1:1.0.1-2    X11 Session Management library
ii  libstroke0                  0.5.1-5      mouse strokes library -- runtime f
ii  libx11-6                    2:1.0.0-8    X11 client-side library
ii  libxext6                    1:1.0.1-2    X11 miscellaneous extension librar
ii  libxft2                     2.1.8.2-8    FreeType-based font drawing librar
ii  libxi6                      1:1.0.1-3    X11 Input extension library
ii  libxinerama1                1:1.0.1-4.1  X11 Xinerama extension library
ii  libxpm4                     1:3.5.5-2    X11 pixmap library
ii  libxrender1                 1:0.9.1-3    X Rendering Extension client libra
ii  zlib1g                      1:1.2.3-13   compression library - runtime

Versions of packages fvwm recommends:
ii  fvwm-icons                  2001.08.13-4 XPMs for fvwm

-- 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