the gtk_paint shuold be moved down, and run glpaint unconditionally,

gtk_paint''
glpaint''
if. (ifjwplot'') *. -.IFGTK do. gtk_main_jgtk_ '' end.

There may be other issues, but solves the immediate problem.

Чтв, 01 Мар 2012, Devon McCormick писал(а):
> To fix this, comment out the "gtk_paint" line in gtk_show_jzplot_ (as
> below).  This probably isn't a real fix as the line was probably there
> for a reason, but it solves the immediate problem.
> 
> gtk_show_jzplot_=: 3 : 0
> coinsert 'jgl2'
> if. -.IFGTK do. gtkinit_jgtk_ '' end.
> popen_gtk''
> if. ifjwplot'' do.
>   (PForm,'_',PId,'_paint')=: gtk_paint
> end.
> NB. gtk_paint''
> if. PShow=0 do.
>   if. VISIBLE do.
>     gtk_widget_show_all_jgtk_ (0&". ::]) PFormhwnd
>   else.
>     gtk_widget_hide_all_jgtk_ (0&". ::]) PFormhwnd
>   end.
>   PShow=: 1
>   gtk_window_set_keep_above_jgtk_ ((0&". ::]) PFormhwnd),PTop
> end.
> if. VISIBLE do. glpaint'' end.
> if. (ifjwplot'') *. -.IFGTK do. gtk_main_jgtk_ '' end.
> )
> 
> 
> On Thu, Mar 1, 2012 at 6:14 PM, John Baker <bakerj...@gmail.com> wrote:
> > I see the same problem on 32 bit windows XP for gtk.
> >
> > After hitting this I GIT'ed the complete system trees for j 6.02 and j 7.01
> > on my
> > various systems.  One of the weaknesses of the otherwise excellent JAL
> > package manager Is an inability to rollback updates.  By putting the entire
> > system tree under version control it's easy to rollback JAL updates.
> >
> > Why I didn't do this ages ago is a major DUH.
> >
> >
> > On Thu, Mar 1, 2012 at 3:49 PM, Ric Sherlock <tikk...@gmail.com> wrote:
> >
> >> I can confirm the same problem in Gtk IDE for both 64-bit Windows and
> >> Linux.
> >>
> >> Windows 7, GtkIDE
> >>   JVERSION
> >> Engine: j701/2011-01-10/11:25
> >> Library: 7.01.057
> >> Platform: Win 64
> >> Installer: j701a_win64.exe
> >> InstallPath: c:/program files/j64-701
> >>   load 'pacman'
> >>   'search' jpkgv 'graphics/plot graphics/gl2 gui/gtk'
> >> ┌─────────────┬──────┬──────┬───────────────┐
> >> │graphics/gl2 │1.0.21│1.0.21│gl2            │
> >> │graphics/plot│1.0.82│1.0.82│Plot           │
> >> │gui/gtk      │1.0.90│1.0.90│GTK API        │
> >> │gui/gtkwd    │1.0.25│1.0.25│gtk wd emulator│
> >> └─────────────┴──────┴──────┴───────────────┘
> >>   load 'plot'
> >>   plot i.10
> >> |assertion failure: cairo_glcmds
> >> |   0~:gtkcr,gtkpl
> >>
> >>
> >> Ubuntu 11.10 GtkIDE
> >>   JVERSION
> >> Engine: j701/2011-01-10/11:25
> >> Library: 7.01.057
> >> Platform: Linux 64
> >> Installer: j701a_linux64.sh
> >> InstallPath: /opt/j64_701
> >>   load 'pacman'
> >>   'search' jpkgv 'graphics/plot graphics/gl2 gui/gtk'
> >> ┌─────────────┬──────┬──────┬───────────────┐
> >> │graphics/gl2 │1.0.21│1.0.21│gl2            │
> >> │graphics/plot│1.0.82│1.0.82│Plot           │
> >> │gui/gtk      │1.0.90│1.0.90│GTK API        │
> >> │gui/gtkwd    │1.0.25│1.0.25│gtk wd emulator│
> >> └─────────────┴──────┴──────┴───────────────┘
> >>   load 'plot'
> >>   plot i.10
> >> |assertion failure: cairo_glcmds
> >> |   0~:gtkcr,gtkpl
> >>
> >> On Fri, Mar 2, 2012 at 10:25 AM, Marshall Lochbaum <mwlochb...@gmail.com>
> >> wrote:
> >> > I'm running Ubuntu 32-bit jgtk. jhs and jconsole outputs still work. I
> >> > assume you have to update plot to get the error.
> >> >
> >> > Marshall
> >> >
> >> > On Thu, Mar 1, 2012 at 3:55 PM, Eric Iverson <eric.b.iver...@gmail.com
> >> >wrote:
> >> >
> >> >> I think we (at least I) need more context for the error report. My
> >> >> assumption is report is for the new jconsole support and does not
> >> >> apply to jgtk or jhs. Details like 32 vs 64 also nice to have.
> >> >>
> >> >> On Thu, Mar 1, 2012 at 3:45 PM, Devon McCormick <devon...@gmail.com>
> >> >> wrote:
> >> >> > The 32-bit version still works under Windows 7.
> >> >> >
> >> >> > On Thu, Mar 1, 2012 at 3:27 PM, Marshall Lochbaum <
> >> mwlochb...@gmail.com>
> >> >> wrote:
> >> >> >> Confirmed on Ubuntu. Oh no!
> >> >> >>
> >> >> >> Marshall
> >> >> >>
> >> >> >> On Thu, Mar 1, 2012 at 3:16 PM, William Szuch <
> >> bsz...@wsa-fincon.com.au
> >> >> >wrote:
> >> >> >>
> >> >> >>> Using Windows 7
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> load 'plot'
> >> >> >>>
> >> >> >>>   plot i. 123
> >> >> >>>
> >> >> >>> |assertion failure: cairo_glcmds
> >> >> >>>
> >> >> >>> |   0~:gtkcr,gtkpl
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> Regards
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> Bill Szuch
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> ----------------------------------------------------------------------
> >> >> >>> For information about J forums see
> >> http://www.jsoftware.com/forums.htm
> >> >> >>>
> >> >> >>
> >> ----------------------------------------------------------------------
> >> >> >> For information about J forums see
> >> http://www.jsoftware.com/forums.htm
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Devon McCormick, CFA
> >> >> > ^me^ at acm.
> >> >> > org is my
> >> >> > preferred e-mail
> >> >> > ----------------------------------------------------------------------
> >> >> > For information about J forums see
> >> http://www.jsoftware.com/forums.htm
> >> >> ----------------------------------------------------------------------
> >> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >> >>
> >> > ----------------------------------------------------------------------
> >> > For information about J forums see http://www.jsoftware.com/forums.htm
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> >
> >
> >
> > --
> > John D. Baker
> > bakerj...@gmail.com
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> 
> 
> 
> -- 
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to