bugGNU Octave - Bugs: bug #44409, Reparenting the current axes under...


bug #44409: Reparenting the current axes under an uipanel makes it not current

Submitted by:  Pantxo Diribarne <pantxo>
Submitted on:  Mon 02 Mar 2015 11:24:42 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

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


Tue 14 Aug 2018 07:21:38 PM UTC, comment #2:

I just tested with the development branch of Octave and this issue is still present. I've marked the bug as confirmed and changed the Item Group to "Matlab Compatibility".

Frankly, Matlab's scheme is a little odd, but here is the annotated behavior.

The reparenting operation would need to be changed not to delete the "currentaxes" property. However, it would also have to be smart enough to understand when an axes is re-parented to another figure or a uipanel of another figure, in which case "currentaxes" does become []. Oy, that's starting to seem cumbersome to implement.

Rik <rik5>
Project Administrator
Fri 23 Dec 2016 08:26:03 PM UTC, comment #1:

I think this behavior is still present in Octave 4.2.0.

When running the code sample from comment #0 I still get the result 0 (meaning "not equal").

Hartmut <hardy>
Mon 02 Mar 2015 11:24:42 PM UTC, original submission:

From tests I asked for in the maintainers list [1] I understand that the following should not change the figure "currentaxes" property:

It works well if the axes is initialized with the uipanel as parent : "hax = axes ("parent", hu);".

[1] http://octave.1599824.n4.nabble.com/Query-for-project-on-improving-matrix-functions-td4668916.html

Pantxo Diribarne <pantxo>
Project Member


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by pantxo (Submitted the item)

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

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-14 rik5 Item GroupIncorrect Result => Matlab Compatibility
        StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.3