cde with multiple monitors

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
cde with multiple monitors

Submitted by Anonymous on Wed, 11/22/2000 - 22:05. Developers
I am having trouble running a Linux openmotif application remotely on Solaris with CDE and multiple monitors. The error message I get is

X Error of failed request BadWindow (invalid Window parameter)
Major opcode of failed request 19 (X_DeleteProperty)
Resource id in failed request 0x0
Serial number of failed request 86
Current serial number in output stream 87

At first I thought this may have to deal with some XtWindow call but it actually occurs at the following line
appshell=XtAppCreateShell("adt","ControlApp",applicationShellWidgetClass, display,args,nargs);

This error does not occur when I use OpenWindows instead of CDE and it does not occur at all if I only have one monitor.

Any ideas?

Thanks,
Robert Soliday

Anonymous

What happens when you rebuild and run the app
natively using the CDE version of Motif?
(What version of CDE are you using?)
-scorch

ICS_support

It sounds like when he says "CDE" he means the X server that comes with the version of Solaris that has CDE, versus the X server that comes with the version of Solaris that has OpenWindows. In either case, the problem is indeed with a Window with a value of None. The way to track this down is to run the application synchronously and halt in the X Protocol Error handler. That is, use a debugged version of Xt and X; start the application in a debugger; in main(), set a breakpoint in _XDefaultError; set _Xdebug to 1 or
call XSynchronize(); then continue. You`ll see the function call in the application or in Xt that is causing the error.

Anonymous

I submitted a bug report 1138 with a fix to the bug database back in November.
It`s a shame it wasn`t incorporated into the latest OpenMotif release.