bugGNU Octave - Bugs: bug #35773, Extra figure openned by waitbar

 
 

bug #35773: Extra figure openned by waitbar

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Fri 09 Mar 2012 02:15:48 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: juanpiOpen/Closed: Closed
Release: 3.6.3Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 08 Aug 2013 01:48:31 AM UTC, comment #4:

Fixed, or really just worked around, in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/efd8963f925f). The fix is on the development branch and will be a part of the 3.8 release. Or you can build from Mercurial sources.

Rik <rik5>
Project Administrator
Wed 02 Jan 2013 09:00:44 PM UTC, comment #3:

This bug is still present in Octave 3.6.3.

The following code:

> waitbar(0.0);
> waitbar(0.1);


creates a waitbar figure (after the first call), then a blank figure and a second waitbar with incorrect dimensions (after the second call).

Subsequent calls to waitbar behave as expected.

Using the handle returned by waitbar does not change the result.

A. Tombs <tombsar>
Fri 09 Mar 2012 03:33:29 PM UTC, comment #2:

The figure is created when the function patch is called in line 114 of waitbar.m

I couldn't find out more, cause I do not understand _go_figure_ correctly. My guess is that something is missing when the axes are added to the figure and gnuplot can't live with that.

Juan Pablo Carbajal <juanpi>
Project Member
Fri 09 Mar 2012 03:11:22 PM UTC, comment #1:

I changed the category to plotting with gnuplot because the example seems to work properly for me with the opengl+fltk toolkit.

With gnuplot, I see three windows.

John W. Eaton <jwe>
Project Administrator
Fri 09 Mar 2012 02:15:48 PM UTC, original submission:

Runing the following code a first time

hw = waitbar(0,'Testing ...'); for i=1:10; waitbar(i/10,hw); pause(0.5); end;

I end up with windows. One is a normal figure window and the other say Gnuplot (window id: 0).

If now run
close(hw)

and *do not* close the normal figure window, running the previous code again behaves as expected.

If you close the normal figure window, it reapears when you run the code again.

Juan Pablo Carbajal <juanpi>
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

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jordigh (Updated the item)
  • -unavailable- added by tombsar (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by juanpi (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Aug 2013 01:48:31 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 29 Jul 2013 12:21:11 AM UTCrik5Dependencies-=>bugs #39588 is dependent
    Wed 02 Jan 2013 09:03:54 PM UTCjordighRelease3.6.1=>3.6.3
    Fri 09 Mar 2012 03:11:22 PM UTCjweCategoryPlotting=>Plotting with gnuplot

    Back to the top


    Powered by Savane 3.1-cleanup1