On Sat, Oct 09, 2010 at 05:58:59AM +0100, Thomas Adam wrote:
> On Sat, Oct 09, 2010 at 01:15:16AM +0200, Dominik Vogt wrote:
> > 1. I have 3x2 pages.
> > 2. A seamonky download window is on page (0, 1).  (One of the
> >    individual download windows, not the big list of all downloads.)
> > 3. Select the button to keep the window open after the download
> >    is complete.
> > 4. Move the window to the top right corner and shade it to the
> >    right.  (Only the border of the window is visible along the
> >    pages right border.)
> > 5. Wait until the download is complete.  The window will then
> >    change it's size, i.e. its width increases.
> 
> So I downloaded and am using Seamonkey version 2.0.8.  Following these
> instructions, I downloaded an ISO -- the window in question remained open
> after download, but the window did not move, nor did the size of the window
> change after download.

Well, if the size does not change, fvwm has no reason to do
anything with the window.  I'm still using seamonkey-1.5a because
seamonkey-2.x is only available with gtk2 which I don't like.
Maybe that's the reason why the window size does not change.

> This was even with a config of /dev/null -- although using my own .fvwm2rc
> had the same effect; the window behaved itself.
> 
> > ==> The shaded window jumps to page (1,2).
> 
> You don't have anything in your config triggering a recapture of the window
> or something to make FVWM shunt the window elsewhere?  I'm assuming not
> anyway.

No, I don't have anything like this.  I don't think it's related
to the configuration.  I can partially reproduce the symptom with
the attached small program (Makefile included).

1. $ make resize_shaded
2. $ ./resize_shaded
3. Within 10 seconds, move the window to the top right corner of
   page (0, 0) and shade it to the right.
4. Wait until the window resizes.

I'll have a closer look after breakfast.

> I attached xev to this window as well -- it doesn't show there being
> anything odd happening to the client once the download has finished.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

static Display *dpy = NULL;
static int screen;
static Window w = None;

int main(void)
{
	{
		dpy = XOpenDisplay("");
		if (!dpy)
		{
			fprintf(stderr,"could not open display\n");
			exit(1);
		}
	}
	{
		screen = DefaultScreen(dpy);
	}
	{
		w = XCreateSimpleWindow(
			dpy, XDefaultRootWindow(dpy), 0, 0, 200, 200, 0, 0, 0);
		if (!w)
		{
			fprintf(stderr, "could not create window\n");
			exit(1);
		}
	}
	XMapWindow(dpy, w);
	XFlush(dpy);
	sleep(10);
	XResizeWindow(dpy, w, 300, 200);
	XFlush(dpy);
	sleep(500);
	XCloseDisplay(dpy);

	return 0;
}
TARGETS = resize_shaded
CFLAGS = -g -O2 -Wall -Werror

all: $(TARGETS)

clean:
        -rm $(TARGETS) *.o

$(TARGETS): %: %.o
        $(CC) -o $@ $< -L/usr/X11R6/lib -lXpm -lXext -lX11  -lm

%.o: %.c
        $(CC) $(CFLAGS) -I. -I.. -I../libs -I/usr/X11R6/include -c $<

Reply via email to