Hallo,
since my students keep to compulsively hit all kind of buttons,
I reviewed also what the different plotting drivers do on hitting
the window close button or menu exit where existant, of course when 
the application is meant to survive the window, e.g. in test.c
xwin:          exits with fpe
wxwidgets:     immediate abort
wxwidgets,menu:immediate abort
xcairo:        does not close the first but opens a new window where all
               works correctly. Xcairo has refreshing problems, but this
               is another story.
tk:            closes the window and pauses indefinitely
tk, menu:      aborts application
qtwidget:      works correctly

It seems only qtwidget has an high probability to survive the efforts
of my students to break things.

Fulvio


From: "Alan W. Irwin" <[email protected]>
Subject: Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window
Date: Thu, 21 Feb 2013 16:40:45 -0800 (PST)

> On 2013-02-21 15:14-0800 phil rosenberg wrote:
> 
>> Thanks  for the report Fulvio
>> In that case I will download a clean version of plplot tomorrow and
>> check how it works with that. Unfortunately I do almost all my coding
>> on a windows environment - mostly because the debugging tools are so
>> good.
>>  
>> Speak soon
>> Phil
> 
> Hi Phil:
> 
> I confirm fulvio's results on my own Debian (wheezy) system.  With
> Fulvio's test.c example the wxwidgets (wxGC) GUI from the first plinit
> does not disappear, and the second plinit segfaults.  These (bad)
> results occur regardless of whether your wxwidgets patch is applied
> or not.
> 
> So I suspect your wxwidgets patch (which, by the way, does apply
> cleanly to the svn trunk version of PLplot) addresses part of the
> issue but not all of it.
> 
> Will you try test.c yourself for testing purposes rather than your
> modified x00c ?  I have attached a slightly modified form of it here
> (plwid ==> plwidth is required for the trunk version) for your
> convenience. Note I have tried this test.c for a number of interactive
> devices and the only device where there are issues appears to be
> wxwidgets.
> 
> Note, I normally run the default backend=2 (wxGC) but I also just now
> tried -drvopt backend=0 (basic) and got the same (bad) results with
> test.c.  I have not tried backend=1 (AGG) for the wxwidgets device
> because the AGG library is not installed on my system.
> 
> Alan
> __________________________
> Alan W. Irwin
> 
> Astronomical research affiliation with Department of Physics and
> Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
> 
> Programming affiliations with the FreeEOS equation-of-state
> implementation for stellar interiors (freeeos.sf.net); the Time
> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
> software package (plplot.sf.net); the libLASi project
> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
> and the Linux Brochure Project (lbproject.sf.net).
> __________________________
> 
> Linux-powered Science
> __________________________

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to