Hello Alan, On 2010-05-07 05:16 +0100, Alan W. Irwin wrote: > Hi Leo: > > I confirm the issue for -dev xwin, -dev xcairo, but not -dev wxwidgets or > -dev qtwidget for the C core library of PLplot. These results clearly show > the device drivers are the source of the trouble and not the cl-plplot lisp > bindings or even the PLplot core library.
Yes, I am using qtwidget for now. But the bug is quite serious in my view so I wish other drivers could work as well as qtwidget (which is excellent by the way). > softw...@raven> examples/c/x01c -dev xwin > PLplot library version: 5.9.5 > XIO: fatal IO error 11 (Resource temporarily unavailable) on X server > "localhost:10.0" > after 2957 requests (42 known processed) with 0 events remaining. > > softw...@raven> examples/c/x01c -dev xcairo > PLplot library version: 5.9.5 > XIO: fatal IO error 11 (Resource temporarily unavailable) on X server > "localhost:10.0" > after 39 requests (30 known processed) with 0 events remaining. > > softw...@raven> examples/c/x01c -dev wxwidgets > PLplot library version: 5.9.5 > Program aborted > > softw...@raven> examples/c/x01c -dev qtwidget > PLplot library version: 5.9.5 I wasn't able to use tkwin so no idea about it on this issue. But "tk" is even worse, if you close the plot window, it just hangs. I have to use: kill -9 LISP-PROCESS-ID. > In all four cases I closed the window by hitting the "Close" window button > supplied by the window manager at the far upper right. That action > generated a fatal error for -dev xwin and -dev xcairo, but generated the > "Program aborted" message and smooth exit after that for -dev wxwidgets and > simply generated a smooth exit for -dev qtwidget. The actions of closing the > window by using the upper-left menu item or by hitting alt+F4 gave the same > results; fatal IO errors for -dev xwin and -dev xcairo but the desired > smooth exits for -dev wxwidgets (with "Program aborted" message) and -dev > qtwidget (with no message). > > I think the solution is better handling of the case when the X server is > suddenly not available (as apparently happens when you close the window) for > -dev xwin and -dev xcairo, but someone else with more driver and X expertise > than me will have to implement fixes. I await fixes ;) > Alan > __________________________ > Alan W. Irwin Leo -- CCL-USER> _ ------------------------------------------------------------------------------ _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
