FVWM Bug Tracking notification

new message incoming/827

Message summary for PR#827
        From: [EMAIL PROTECTED]
        Subject: Unmanaged window
        Date: Fri, 14 Dec 2001 08:54:26 -0600
        0 replies       0 followups

====> ORIGINAL MESSAGE FOLLOWS <====

>From [EMAIL PROTECTED] Fri Dec 14 08:54:27 2001
Received: from karazm.math.uh.edu ([129.7.128.1])
        by malifon.math.uh.edu with esmtp (Exim 3.20 #1)
        id 16EtjH-0006z6-00
        for [EMAIL PROTECTED]; Fri, 14 Dec 2001 08:54:27 -0600
Received: from malifon.math.uh.edu (IDENT:[EMAIL PROTECTED] [129.7.128.13])
        by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id IAA10907
        for <[EMAIL PROTECTED]>; Fri, 14 Dec 2001 08:54:26 -0600 (CST)
From: [EMAIL PROTECTED]
Received: from localhost ([127.0.0.1] ident=65534)
        by malifon.math.uh.edu with esmtp (Exim 3.20 #1)
        id 16EtjG-0006z2-00
        for [EMAIL PROTECTED]; Fri, 14 Dec 2001 08:54:26 -0600
To: [EMAIL PROTECTED]
Subject: Unmanaged window
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 14 Dec 2001 08:54:26 -0600

Full_Name: Darren Marshall
Version: 2.4.3
CVS_Date: 
OS: Linux 2.4.16
X_Server: XFree86 4.1.0
Submission from: (NULL) (195.99.244.69)


We have an application that appears to break fvwm. The problem is caused by
this application calling XtPopup(), XtPopdown(), XtPopup() on one window in
quick succession. This results in a window without any decorations and is
absent from the window list. This scenario appears to work correctly with
other window managers, such as mwm (open motif), twm and WindowMaker. Below
is a program that reproduces this problem:

#include <X11/Intrinsic.h>
#include <X11/Shell.h>
#include <X11/StringDefs.h>

int main(int argc, char **argv) 
{   
    XtAppContext appContext;
    Display *display;
    Widget shell;
    Arg al[2];
    short ac = 0;

    XtToolkitInitialize();
    appContext = XtCreateApplicationContext();
    display = XtOpenDisplay(appContext, 0, argv[0], argv[0], 0, 0, &argc,
argv);
    XtSetArg(al[ac], XtNheight, 500); ac++;
    XtSetArg(al[ac], XtNwidth, 500); ac++;
    shell = XtAppCreateShell(0, "shell", applicationShellWidgetClass,
display, al, ac);
    XtPopup(shell, XtGrabNone);
    XtPopdown(shell);
    XtPopup(shell, XtGrabNone);
    XtAppMainLoop(appContext);
    return 0;
}   

This problem is reproducible with the system .fvwmrc file.


--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to