XForms: XForms problem?

Knutur Arnason (ka@os.is)
Wed, 01 Sep 1999 10:21:21 GMT

# To subscribers of the xforms list from Knutur Arnason <ka@os.is> :



To whom who might help me

I have problems with the functions fl_show_oneliner and fl_hide_onliner
of the XForms library. In my application I pup up an oenliner in the
event of a mouse button pressed with the pointer on a data point
in a free-form plot window, and have it disappear on button release.

The following is a part of a debuging log from the program (-debug 2
option):

MainLoop Event(4,w=0x340003d s=5306) ButtonPress
In WinOpen VClass:TrueColor VisualID:0x22 Depth:24 24 Colormap:0x23
waiting Event(19,w=0x3400049 s=5325) MapNotify
waiting Event(12,w=0x3400049 s=5325) Expose count=0 serial=14cd
In EventCallback [events.c 34] Unknown window=0x3400049
Ignored Event(12,w=0x3400049 s=5325) Expose count=0 serial=14cd
MainLoop Event(5,w=0x340003d s=6218) ButtonRelease button: 1
Eaten Event(18,w=0x3400049 s=6223) UnmapNotify
Eaten Event(17,w=0x3400049 s=6224) DestroyNotify
MainLoop Event(4,w=0x340003d s=6450) ButtonPress
In WinOpen VClass:TrueColor VisualID:0x22 Depth:24 24 Colormap:0x23
waiting Event(19,w=0x340004a s=6466) MapNotify
waiting Event(12,w=0x340004a s=6466) Expose count=0 serial=1942
In EventCallback [events.c 34] Unknown window=0x340004a
Ignored Event(12,w=0x340004a s=6466) Expose count=0 serial=1942
Eaten Event(18,w=0x340004a s=7360) UnmapNotify
Eaten Event(17,w=0x340004a s=7361) DestroyNotify
X Error of failed request: BadDrawable (invalid Pixmap or Window
parameter)
Major opcode of failed request: 14 (X_GetGeometry)
Resource id in failed request: 0x340004a
Serial number of failed request: 7363
Current serial number in output stream: 7363

It seems like that the fl_show_oneliner pops up in an unknown window,
and eventually, after some pop-ups and downs, the program crashes
when the oenliner disappears with the above X-Error.

Does any one recognize this problem and know a way around it?

Knutur Arnason
E-mail: ka@os.is

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/