[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39577] problem with figure position, menubar
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #39577] problem with figure position, menubar / toolbar on Linux |
Date: |
Sat, 27 Jul 2013 13:17:36 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36 |
Follow-up Comment #1, bug #39577 (project octave):
The default figure position size is (420x560). Michael Goffioul proposed the
explanation below, to explain why the figure's position size is reported to be
(380x560).
* Octave creates a figure object with the default position
* FLTK backend creates the corresponding window and size it to the figure
position
* FLTK backend puts the OpenGL widget *and* the menubar and the statusbar
within the allocated window
* Because of the height of the menubar and statusbar, the OpenGL widget height
is less than the default height from the "position" property
* FLTK event loop processes the move/resize event that is (always) occurring
when a window is initially shown
* FLTK backend updates the position property with the real OpenGL widget size
That the rendered figure canvas is 20 pixels taller than indicated by the
figure's "position" property is also present in MacOSX (see the bug report
below)
https://savannah.gnu.org/bugs/?39555
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39577>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/