On Tue, 21 Oct 2008, Philipp Kolmann wrote:

ok, I dug though the diff.....

Philipp Kolmann wrote:
So it seems it is some regression from 2.5.24 to 2.5.26. The Diff is 6k lines, so nothing easy to spot.
Any hint, what might be the issue or how to trace it?


diff -ur fvwm-2.5.24/fvwm/events.c fvwm-2.5.26/fvwm/events.c
--- fvwm-2.5.24/fvwm/events.c   2007-11-17 12:47:56.000000000 +0100
+++ fvwm-2.5.26/fvwm/events.c   2008-03-21 08:15:37.000000000 +0100
@@ -2897,6 +2924,21 @@
      /* If the window has never been mapped before ... */
      if (!fw || (fw && DO_REUSE_DESTROYED(fw)))
      {
+               check_if_event_args args;
+               XEvent dummy;
+
+               args.w = ew;
+               args.do_return_true = True;
+               args.do_return_true_cr = False;
+               if (
+                       FCheckIfEvent(
+                               dpy, &dummy, test_withdraw_request,
+                               (XPointer)&args)) {
+                       /* The window is moved back to the WitdrawnState
+                        * immideately. Don't map it. */
+                       return;
+               }
+


This seems to be making my profile window go away.
If I comment the return out, the profile window pops up without a problem.

Question is now, is it a problem on Skype's side (according to the comments, they draw a window and set the withdaw state) or is it some bug on your side?

That particular diff is related to a fix for gtk-windows disappearing when using some new GTK praxis.
(See http://www.mail-archive.com/[EMAIL PROTECTED]/msg01359.html)

It's hard to say exactly what Skype does since it's closed source. I'll try to debug it some to see if I'm able to reproduce the issue using bare X-calls, and see if those calls are right or not. I still belive that the above diff is right in accordance with the ICCCM2 specification, but without knoing what Skype does it's hard to say if it is fvwm or Skype that breaks the rules.

/Viktor


Reply via email to