bugGNU Octave - Bugs: bug #41446, waitbar function causes multiple...

 
 

bug #41446: waitbar function causes multiple figures to load

Submitted by:  None
Submitted on:  Mon 03 Feb 2014 04:30:13 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Colin FosterOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: GNU/Linux

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)

Mon 28 Apr 2014 11:41:00 PM UTC, comment #9:

Tested the latest build. Works great! Thanks Rik

Colin Foster <cfoster>
Mon 28 Apr 2014 06:17:43 PM UTC, comment #8:

There was a really deep problem with one of the utility routines (_gnuplot_get_var_.m) accidentally calling gcf() which would open a new figure. I fixed it on the stable branch which will become part of the bug fix release 3.8.2. The changeset is here (http://hg.savannah.gnu.org/hgweb/octave/rev/0b95b9c5ac71). I also pulled the change across to the gui-release and development branches so if you do a new 'hg pull' you will get the fix.

Closing report.

Rik <rik5>
Project Administrator
Mon 28 Apr 2014 02:13:59 PM UTC, comment #7:

The issue is only with gnuplot. That wasn't specified until the last series of tests which is why we couldn't verify it. I've re-opened the bug and marked it as confirmed. Any fix will also have to account for bug #41914.

Rik <rik5>
Project Administrator
Mon 28 Apr 2014 02:11:10 PM UTC, comment #6:

Ok, with gnuplot yes I am able to reproduce. You are right, this was fixed for the 3.8 release but is broken again in the development version (have not tried gui-release yet). Marking as a regression in the development version.

This was previously reported and fixed as bug #35773 for the 3.8 release.

Mike Miller <mtmiller>
Project Administrator
Mon 28 Apr 2014 01:49:18 PM UTC, comment #5:

It certainly is an issue on my machine: Gentoo, pulled the hg with hg clone http://www.octave.org/hg/octave

Build with the suggestions in the HACKING file
Run with no gui (./run-octave --no-gui)

Create a waitbar with the WBH variable

1> WBH = waitbar(0)
2> waitbar(.15, WBH)

Three total figures open:
A standard waitbar with 0%
An empty, standard looking figure
A second waitbar with 25% completion, in the size of the standard figure.

gnuplot is the graphics toolkit that I am using.

Colin Foster <cfoster>
Fri 25 Apr 2014 11:06:42 PM UTC, comment #4:

I don't see any problem with the current hg development branch (rev a142f35f3cb6) running your original example.

Mike Miller <mtmiller>
Project Administrator
Fri 25 Apr 2014 10:45:27 PM UTC, comment #3:

I have pulled the latest 4.1.0+ src and this problem seems to have re-emerged. I'll look more into the issue when I have time but just want to make sure it is still fixed

Colin Foster <cfoster>
Mon 03 Feb 2014 09:59:51 PM UTC, comment #2:

This did get fixed in time for the 3.8 release. Upgrade and you should be good to go. Closing report.

Rik <rik5>
Project Administrator
Mon 03 Feb 2014 05:55:52 PM UTC, comment #1:

I submitted this. I'm sorry, it already exists and seems to have been fixed in the 3.8 version.

Colin Foster <cfoster>
Mon 03 Feb 2014 04:30:13 PM UTC, original submission:

I run code similar to the following:

WBH = waitbar(0,'foo')

...

waitbar(.25, WBH, 'bar')

What happens is the correct figure opens during the first call, but the second call causes a blank figure to open and a third figure opens with a new waitbar that works properly. The end result is three open figures. If, however I open a blank figure before the first waitbar command and pause for one second, the waitbar function works correctly.

figure
pause(1)
WBH = waitbar(0,'foo')
...
waitbar(.25, WBH, 'bar')

I hope this is descriptive enough. Keep up the great work!

Anonymous

 

(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 mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by cfoster (Posted a comment)
  • -unavailable- added by None (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 13 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Apr 2014 06:17:43 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Release3.6.4=>3.8.1
    Mon 28 Apr 2014 02:13:59 PM UTCrik5Releasedev=>3.6.4
      Summarywaitbar function causes multiple figures to load with gnuplot=>waitbar function causes multiple figures to load
    Mon 28 Apr 2014 02:11:10 PM UTCmtmillerCategoryPlotting=>Plotting with gnuplot
      Item GroupPerformance=>Regression
      StatusFixed=>Confirmed
      Open/ClosedClosed=>Open
      Release3.6.4=>dev
      Summarywaitbar function causes multiple figures to load=>waitbar function causes multiple figures to load with gnuplot
    Mon 03 Feb 2014 09:59:51 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1