bugGNU Octave - Bugs: bug #39555, problem with figure position,...

 
 

bug #39555: problem with figure position, menubar, & toolbar on MacOSX

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Tue 23 Jul 2013 11:35:37 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Ben AbbottOpen/Closed: Closed
Release: devOperating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 01 Aug 2013 11:48:18 AM UTC, comment #5:

I pushed a change that fixes this problem for me.

http://hg.savannah.gnu.org/hgweb/octave/rev/ea19ea629a09

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 27 Jul 2013 01:37:04 PM UTC, comment #4:

When an axes object is added to a new figure, the menubar is obscured (see the attached, macosx.png). The rendered axes position is correct, but the figure position is 20 pixels too tall. However, the axes and figure position properties each report the correct default values.

(file #28670)

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 27 Jul 2013 01:29:16 PM UTC, comment #3:

There is both a menubar and a toolbar which may be interacting with the figure's position size. With the changeset below, the menu bar is visible provided no axes objects are present.

http://hg.savannah.gnu.org/hgweb/octave/rev/7a67ab7c4771

The area reserved for the figure's canvas is consistent with the figure's "position" property.

(file #28669)

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 27 Jul 2013 12:46:07 PM UTC, comment #2:

Renaming.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Tue 23 Jul 2013 11:36:55 AM UTC, comment #1:

Opps, I had a typo. Trying again.

On Mac OSX, when a figure is created, the toolbar is 20 pixels too high on the figure window, and the figure window is 20 pixels too tall.

After
The attached "initial_figure.png" is displayed.

After
The attached "fixed_figure.png" is displayed.

I've attaching an ugly diff that fixes this.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Tue 23 Jul 2013 11:35:37 AM UTC, original submission:

On Mac OSX, when a figure is created, the toolbar is 20 pixels too high on the figure window, and the figure window is 20 pixels too tall.

After

Ben Abbott <bpabbott>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #28670:  macosx.png added by bpabbott (54KiB - image/png)
file #28669:  MacOSX-no-axes.png added by bpabbott (43KiB - image/png - "figure ()" or "clf ()" produces this result)
file #28646:  initial_figure.png added by bpabbott (41KiB - image/png)
file #28647:  figure.diff added by bpabbott (689B - application/octet-stream)
file #28648:  fixed_figure.png added by bpabbott (41KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bpabbott (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Aug 2013 12:12:19 PM UTCbpabbottStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 01 Aug 2013 11:48:18 AM UTCbpabbottStatusNone=>Ready For Test
    Sat 27 Jul 2013 01:37:04 PM UTCbpabbottAttached File-=>Added macosx.png, #28670
    Sat 27 Jul 2013 01:29:16 PM UTCbpabbottAttached File-=>Added MacOSX-no-axes.png, #28669
    Sat 27 Jul 2013 12:46:07 PM UTCbpabbottSummaryfigure toolbar is in wrong location=>problem with figure position, menubar, & toolbar on MacOSX
    Tue 23 Jul 2013 11:35:37 AM UTCbpabbottAttached File-=>Added initial_figure.png, #28646
      Attached File-=>Added figure.diff, #28647
      Attached File-=>Added fixed_figure.png, #28648

    Back to the top


    Powered by Savane 3.1-cleanup1