bugGNU Octave - Bugs: bug #30996, pause() hangs fltk plots

 
 

bug #30996: pause() hangs fltk plots

Submitted by:  Judd Storrs <judd>
Submitted on:  Wed 08 Sep 2010 03:25:52 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 1 - LaterItem Group: Incorrect Result
Status: Wont FixAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 18 Nov 2016 03:29:01 PM UTC, comment #4:

Following Lachlan's suggestion I'll close this report as "won't fix". I am pretty sure FLTK won't ever be moved to its own thread and live independently from the interpreter.

Pantxo Diribarne <pantxo>
Project Member
Fri 29 Apr 2016 08:59:12 AM UTC, comment #3:

Since this bug report, qt has also emerged as a third workaround. It handles expose events, zoom, rotate, grid etc, even though it doesn't handle autoscale and can't add text.

Since this is so old and there are both old and new workarounds, I'd recommend closing this as "Won't fix".

Lachlan Andrew <lachlan>
Project Member
Sun 31 Oct 2010 05:06:49 PM UTC, comment #2:

The priority of this bug has been changed to low as there are two existing workarounds. 1) Use the gnuplot backend for plotting or 2) use pause(N) to delay for only a certain amount of time rather than indefinitely.

Bug #31108 appears to be conceptually similar and has been marked as a dependency.

Rik <rik5>
Project Administrator
Tue 14 Sep 2010 06:00:43 PM UTC, comment #1:

Well, Octave is not multithreaded. But even if it were, I think graphics callbacks would still need to be processed during the pause, so the main interpreter thread could not be completely suspended during that time, could it?

I think it would be appropriate to discuss how we should fix this problem on the maintainers list.

John W. Eaton <jwe>
Project Administrator
Wed 08 Sep 2010 03:25:52 PM UTC, original submission:

When using the fltk backend and when pause() is called, the fltk windows do not respond to any events and does not refresh/redraw until a key is pressed in the terminal to exit pause().

Example:

After running these commands the fltk plot appears but none of the interactive features work. Pressing a key in the terminal exits pause() and the window becomes functional again.

Linux cuneus 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux

hg identify: 18b0af0bbd6b tip

Judd Storrs <judd>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by bpabbott (Updated the item)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by judd (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Nov 2016 03:29:01 PM UTCpantxoStatusConfirmed=>Wont Fix
      Open/ClosedOpen=>Closed
    Fri 29 Apr 2016 08:59:12 AM UTClachlanPriority3 - Low=>1 - Later
    Sat 29 Mar 2014 07:20:16 PM UTCmtmillerDependencies-=>Depends on bugs #37795
    Mon 28 Oct 2013 02:58:35 AM UTCmtmillerCategoryInterpreter=>Plotting with OpenGL
    Sun 31 Oct 2010 05:06:49 PM UTCrik5Priority5 - Normal=>3 - Low
      Dependencies-=>Depends on bugs #31108
    Mon 25 Oct 2010 03:36:50 PM UTCbpabbottStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1