bugGNU Octave - Bugs: bug #41573, Reparenting axes do not cause...


bug #41573: Reparenting axes do not cause figure to be re-drawn

Submitted by:  Pantxo Diribarne <pantxo>
Submitted on:  Wed 12 Feb 2014 09:43:11 PM UTC  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich 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)

Fri 21 Feb 2014 04:11:55 PM UTC, comment #6:

Pantxo, could you send the request to split the "Plotting with OpenGL" category directly to jwe@octave.org. I believe he is the only one at the moment who can change those fields.

Rik <rik5>
Project Administrator
Fri 21 Feb 2014 11:01:31 AM UTC, comment #5:

Using qt graphics toolkit the axes is redrawn properly after reparenting.

The bug category "Plotting with OpenGL" should probably be split into "... with FLTK" and "... with qt", now that qt graphics toolkit has been integrated to octave sources.

Pantxo Diribarne <pantxo>
Project Member
Sun 16 Feb 2014 10:32:46 AM UTC, comment #4:

Neither drawnow, nor _fltk_redaw_ have an effect:

Only clicking on the figure (1) canvas as an effect.

Pantxo Diribarne <pantxo>
Project Member
Sun 16 Feb 2014 12:01:21 AM UTC, comment #3:

does drawnow() help?

Felipe G. Nievinski <fgnievinski>
Thu 13 Feb 2014 07:17:41 AM UTC, comment #2:

You are right, clicking in the canvas area lets the axes be drawn.

Pantxo Diribarne <pantxo>
Project Member
Thu 13 Feb 2014 05:31:15 AM UTC, comment #1:

Are they not drawn, or simply not refreshed?

The code works for me if I explicity click in the blank canvas of the figure. This seems to be an issue with the OpenGL renderer not understanding that the figure has been invalidated and needs to be refreshed. This worked for me

Rik <rik5>
Project Administrator
Wed 12 Feb 2014 09:43:11 PM UTC, original submission:

See example below :

The axes is valid, I've tried to change its properties, draw lines ... all "silently" (invisibly) works but I can't get it to be drawn.

Pantxo Diribarne <pantxo>
Project Member


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

Attach File(s):

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 fgnievinski (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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Feb 2014 08:50:27 PM UTCrik5SummaryReparented axes are not drawn =>Reparenting axes do not cause figure to be re-drawn

    Back to the top

    Powered by Savane 3.1-cleanup