bugGNU Octave - Bugs: bug #39650, tightinset update is wrong after...

 
 

bug #39650: tightinset update is wrong after change of fig position

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Fri 02 Aug 2013 01:06:34 PM UTC  
 
Category: Plotting with OpenGLSeverity: 5 - Blocker
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Ben AbbottOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Mon 12 Aug 2013 11:56:40 AM UTC, comment #7:

I'm seeing a failure the first time tests are run on graphics.cc

The test fails due to the axes objects being in the wrong order. Subsequently, all tests pass.

I'll open a new bug report.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun 11 Aug 2013 08:48:52 PM UTC, comment #6:

I've pushed a changeset

http://hg.savannah.gnu.org/hgweb/octave/rev/283422a219a2

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sun 11 Aug 2013 02:23:42 AM UTC, comment #5:

I ran a test that looks to indicate the problem is in graphics.cc (i.e. not _init_fltk_.cc)

I'm still lost as to what is happening.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 03 Aug 2013 12:59:54 PM UTC, comment #4:

Changing the xlabel, ylabel, or title restores the tightinset to its proper values and renders the figure correctly.

I don't understand what it happening. If anyone has an idea, please comment.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 03 Aug 2013 02:04:58 AM UTC, comment #3:

Maybe the problem is in graphics.cc (axes::properties::get_extent ()) ?

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 03 Aug 2013 01:11:54 AM UTC, comment #2:

Removing the "regression", and elevating the severity to blocker.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 03 Aug 2013 01:06:51 AM UTC, comment #1:

The problem looks to be with the "tightinset" property. The tightinset should be identical in each case.

I'm changing the summary to be more descriptive.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 02 Aug 2013 01:06:34 PM UTC, original submission:

Figure looks reasonable. However, the menubar height is taller, and should remain a fixed height (to maintain esthetics).

Returning the figure to its original position shrinks the axes.

I've attached the figure which results.

Enlarging the figure a second time fixed the axes position.

I haven't had the time to isolate the problem, but my guess is that either (1) a dormant old bug has been awakened by recent changes to _init_flltk_.cc, or (2) the recent changes broke some implicit interdependence.

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 #28742:  shrunk-axes.png added by bpabbott (45KiB - 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
    Mon 12 Aug 2013 10:16:09 PM UTCbpabbottStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 11 Aug 2013 08:48:52 PM UTCbpabbottItem GroupNone=>Incorrect Result
      StatusNone=>Ready For Test
      Assigned toNone=>bpabbott
    Sat 03 Aug 2013 01:11:54 AM UTCbpabbottSeverity3 - Normal=>5 - Blocker
      Item GroupRegression=>None
    Sat 03 Aug 2013 01:06:51 AM UTCbpabbottSummarychanging fig position shrinks FLTK axes=>tightinset update is wrong after change of fig position
    Fri 02 Aug 2013 01:06:34 PM UTCbpabbottAttached File-=>Added shrunk-axes.png, #28742

    Back to the top


    Powered by Savane 3.1-cleanup1