[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange fltk behavior after changeset 4f112bebd474
From: |
Ben Abbott |
Subject: |
Re: strange fltk behavior after changeset 4f112bebd474 |
Date: |
Thu, 03 Nov 2011 15:53:02 -0400 |
On Nov 3, 2011, at 3:37 PM, John W. Eaton wrote:
> On 3-Nov-2011, Ben Abbott wrote:
>
> | I'm seeing some strange results when plotting with FLTK on MacOS. After the
> | changeset below.
> |
> | http://hg.savannah.gnu.org/hgweb/octave/rev/4f112bebd474
> |
> | The figure window on the screen changes when the figure's position property
> is
> | modified.
> |
> | close all
> | graphics_toolkit fltk
> | figure (1)
> | plot (rand (2))
> |
> | I've attached initial.png to show what I see at this point.
> |
> | p = get (gcf, "position");
> | set (gcf, "position", p*2);
> | set (gcf, "position", p);
> |
> | After modifying the position and returning to the default values I see
> | modified.png.
> |
> | This second one still looks suspicious to me. I think the axes plot box is
> | elevate by the height of the toolbar at the bottom of the window.
>
> I don't see the extra gray bar at the bottom of the first window, and
> setting the size to twice the original then back also seems to work
> correctly for me.
>
> I'm using Debian and fltk is
>
> ii libfltk1.1 1.1.10-7 Fast Light Toolkit - shared libraries
> ii libfltk1.1-dev 1.1.10-7 Fast Light Toolkit - development files
>
> jwe
I had seen a similar behavior when using the Fink package manager.
Unfortunately, we were never able to track down the problem, and it disappeared
when I switched to MacPorts.
I still have a fink installation. I'll pull and build there and see how that
behaves.
Ben