bugGNU Octave - Bugs: bug #41667, root figure parent property should...

 
 

bug #41667: root figure parent property should be empty

Submitted by:  Pantxo Diribarne <pantxo>
Submitted on:  Sat 22 Feb 2014 10:15:32 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/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)

Tue 04 Mar 2014 08:42:10 PM UTC, comment #7:

The root parent is now empty for me also, both on mac and linux.

Pantxo Diribarne <pantxo>
Project Member
Tue 04 Mar 2014 04:21:05 PM UTC, comment #6:

I checked in the following change. It seems to fix the problem with the parent property for me.

http://hg.savannah.gnu.org/hgweb/octave/rev/89bd70fae066

Also merged with default.

Running make check works for me, but still fails because qt+opengl
graphics are not availble when running without the gui. But I think that's a separate problem.

John W. Eaton <jwe>
Project Administrator
Sun 02 Mar 2014 10:24:18 PM UTC, comment #5:

I'll try to think about how to order the initialization so that it works with qt+opengl graphics. I meant to do that already but was distracted...

John W. Eaton <jwe>
Project Administrator
Sun 02 Mar 2014 09:08:07 PM UTC, comment #4:

This bug has more knock-on effects. Executing "__run_test_suite__" in the GUI now hangs at guidata.m. The problem is that the ancestor function ends up getting called like so:

Inside ancestor.m there is a "while (true)" loop that becomes infinite because the call

returns 0 instead of [] as it should.

Rik <rik5>
Project Administrator
Sat 22 Feb 2014 05:12:05 PM UTC, comment #3:

This is an order of initialization problem for the Qt toolkit. The global Octave_NaN object is not initialized to NaN prior to its use to set the value of the root figure's parent property.

John W. Eaton <jwe>
Project Administrator
Sat 22 Feb 2014 04:46:09 PM UTC, comment #2:

Confirmed. The 'parent' property of the root figure should always be '[]' according to Matlab since it has no parent.

Rik <rik5>
Project Administrator
Sat 22 Feb 2014 04:44:14 PM UTC, comment #1:

This problem appears after the integration of QtHandles (actually at revision 18503 which fixes compile issues).

I suppose it's a side effect of integrating this huge and beautiful new feature.

Pantxo Diribarne <pantxo>
Project Member
Sat 22 Feb 2014 10:15:32 AM UTC, original submission:

This only happens with the GUI (neither with --no-gui nor -cli) and it is a regression from 3.8.0 :

It impacts "ancestor.m" and thus many other plotting scripts.

Pantxo Diribarne <pantxo>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by pantxo (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Mar 2014 03:43:34 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 22 Feb 2014 04:46:09 PM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1