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

 
 

bug #35773: Extra figure openned by waitbar

Submitter:  Juan Pablo Carbajal <juanpi>
Submitted:  Fri 09 Mar 2012 02:15:48 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  juanpi Open/Closed:  * Closed
Release:  * 3.6.3 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jordigh (Updated the item)
  • -email is unavailable- added by tombsar (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by juanpi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-08 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2013-07-29 rik5 Dependencies- bugs #39588 is dependent
    2013-01-02 jordigh Release3.6.1 3.6.3
    2012-03-09 jwe CategoryPlotting Plotting with gnuplot

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code