Lee,
Btw, the BadWindow errors are not new:
% osgviewerQT cow.osg --QOSGWidget --MTCompositeViewer
Using QOSGWidget - QWidget + osgViewer creating the graphics context.
+ using standard CompositeViewer with seperate contexts (Multithreaded mode /
EXPERIMENTAL !)
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x580000b
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x580000b
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x580000b
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x580000f
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x580000f
...
-Don
Butler, Lee Mr CIV USA USAMC wrote:
Thanks. I realize that this is not part of a release yet. Just wanted folks to know
that it wasn't "Produciton ready" yet.
Lee
----- Original Message -----
From: Don Leich <[email protected]>
Date: Tuesday, July 28, 2009 12:23
Subject: Re: [osg-users] osgviewerQtWidget example issues (UNCLASSIFIED)
To: [email protected], "Butler, Lee Mr CIV USA USAMC"
<[email protected]>
Hi Lee,
The sample code is a work in progress which I posted. It's based
on the
previous osgviewerQt example with an added Qt Designer generated
interfacedescription developed by a co-worked of mine, and
miscellaneouspatches and fixes I found in the OSG archives.
The Bad Window errors are noted in a comment in the example code...
We may have just gotten some Bad Window errors from X11 calling
XGetWindowAttributes before the Window has been realized.
We'll also have garbage in the traits which get fixed up next.
I think these arise as a result of OSG trying to get the size of an
X Window
before it's been realized. These are nuisance errors that I'd like
to see go
away before my code goes production, but don't really affect the
behaviorof the example.
I haven't seen the lock up on resize under Qt-4.4.3 and don't have
a clue
why this is a problem under Kde and not Gnome. I do see the frozen
"Outboard" window. This is not "buggy" behavior but a deficiency
in the
example code, i.e. a logic error.
-Don
------------------------------------------------------------------
------
Subject:
[osg-users] osgviewerQtWidget example issues (UNCLASSIFIED)
From:
"Butler, Lee Mr CIV USA USAMC" <
Date:
Mon, 27 Jul 2009 16:52:54 -0400
To:
"'OpenSceneGraph Users'" <
Classification: UNCLASSIFIED
Caveats: NONE
The example code has problems on my machine (RedHat 5, Qt 4.5.2, NVidia
185.18.14, KDE). I've got svn revision 10512 from HEAD.
The code compiles just fine (using qmake) but on startup I get:
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x2200017
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x2200017
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x2200017
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x2200043
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x2200043
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x2200043
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x2200045
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x2200045
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x2200045
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x220004f
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x220004f
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x220004f
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x2200051
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x2200051
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x2200051
I can resize the "outboard" window without any problem, but attempting to
resize the "main" window causes X11 to lock up.
If I switch to gnome, it runs OK.
Under either Gnome or KDE, selecting "Main->Exit" from the application
causes the main window to close, but leaves a frozen "Outboard" window
behind. The application does not quit until the outboard window is closed.
Lee
Classification: UNCLASSIFIED
Caveats: NONE
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org