|
From: <tim...@lp...> - 2008-01-30 22:43:00
|
Philipp K. Janert wrote: > There is an interesting issue with the wxt terminal > (on Linux, at least): > > When I set up my terminal with the 'noraise' flag: > > set t wxt noraise > > Then the window is not raised after a plot command, > instead the focus stays with the console window (so > far, all is according to spec). > > However, the window also does not receive a redraw > event so that the old plot continues to be shown. > The window is only redrawn (with the new plot) after > the mouse pointer enters the wxt window (or the > window is raised). > > My guess is that wxt does not generate a redraw > event until the window system (X11) sends an event > (souch as MOUSE_IN) to the window. > > This does not seem to be a problem when using > the old x11 terminal. > > I wonder whether anybody has seen this before? > Is this at all dependent on the window manager? > (I use IceWM.) > > Best, > > Ph. > Hi Philipp, I can understand where this may come from, but I have not been able to reproduce it on my machine... The origin of the problem is that the calls to wxWidgets and GTK to redraw the plot are sent from gnuplot main thread, whereas the main graphic events loop runs in a secondary thread. So there are cases where calls made in gnuplot main thread are not really executed until the secondary thread is woken up by the arrival of another event. I have already had to fix such problems, for example to make 'set term wxt close' close the window immediately. _However_, I am not able to reproduce what you describe, i.e. the plot not being redrawn until a mouse event arrives. I have tried 4.2.2 and gnuplot CVS, with compiz, metacity and kde4's kwin as window managers. Could you try with another window manager such as one of those ? I have wxGTK 2.8.6, could you tell me what wxGTK version you have ? Thank you, Timothée > > G N U P L O T > Version 4.2 patchlevel 2 > last modified 31 Aug 2007 > System: Linux 2.6.18.2-34-default > > Copyright (C) 1986 - 1993, 1998, 2004, 2007 > Thomas Williams, Colin Kelley and many others > > Type `help` to access the on-line reference manual. > The gnuplot FAQ is available from http://www.gnuplot.info/faq/ > > Send bug reports and suggestions to > <http://sourceforge.net/projects/gnuplot> > > Compile options: > -READLINE +LIBREADLINE +HISTORY +BACKWARDS_COMPATIBILITY +BINARY_DATA > +GD_PNG +GD_JPEG +GD_TTF +GD_GIF +ANIMATION > -NOCWDRC +X11 +X11_POLYGON +MULTIBYTE +USE_MOUSE +HIDDEN3D_QUADTREE > +DATASTRINGS +HISTOGRAMS +OBJECTS +STRINGVARS +MACROS +IMAGE > > DRIVER_DIR > = "/home/janert/Gnuplot/Build/Release-4.2.2/build/libexec/gnuplot/4.2" > GNUPLOT_PS_DIR > = "/home/janert/Gnuplot/Build/Release-4.2.2/build/share/gnuplot/4.2/PostScript" > HELPFILE > = "/home/janert/Gnuplot/Build/Release-4.2.2/build/share/gnuplot/4.2/gnuplot.gih" > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |