octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_ACCESS [was: persistent listeners]


From: Ben Abbott
Subject: Re: EXC_BAD_ACCESS [was: persistent listeners]
Date: Sun, 13 Mar 2011 11:20:47 -0400

On Mar 12, 2011, at 5:06 PM, logari81 wrote:

> Yes your last change would cancel my intention in my previous change.
> The idea is that the lines:
> 
> ||    if (uimenu->items_to_show ())
> ||      show_menubar ();
> ||    else
> ||      hide_menubar ();
> 
> should be before the first allocation of the canvas:
> 
> ||      // This allows us to have a valid OpenGL context right away.
> ||      canvas->mode (FL_DEPTH | FL_DOUBLE );
> ||      if (fp.is_visible ())
> ||        {
> ||          show ();
> ||          if (fp.get_currentaxes ().ok())
> ||            show_canvas ();
> ||          else
> ||            hide_canvas ();
> ||        }
> 
> otherwise, at least with my fltk version, the first time anything is
> plotted is vertically shifted by the menu bar height which was very
> annoying.
> 
> So we have to find some other solution. Maybe Shai could give us a hint.
> 
> Kostas

I'm not certain, but it sounds like a problem I have seen on MacOS.

In my case, I was unable to see the menu bar and the status bar at the same 
time. In each of these cases, the plot was shifted vertically.

I was able to fix this by uninstalling fltk-aqua-1.1.10. The package for 
fltk-aqua-shlibs-1.1.10 remains installed.

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]