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 OpenGL Severity:  3 - Normal
Priority:  1 - Later Item Group:  Incorrect Result
Status:  Wont Fix Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev 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.


Wed 25 Apr 2018 02:37:35 PM UTC, comment #5: 

Yeah, I'm hoping "graphics_toolkit fltk" will just be an alias for "graphics_toolkit qt" soon enough.  Maybe by the time version 5 is released.

John W. Eaton <jwe>
Project Administrator
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>
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().



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 Files:

No files currently attached


Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by bpabbott (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by judd (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-18 pantxo StatusConfirmed => Wont Fix
        Open/ClosedOpen => Closed
    2016-04-29 lachlan Priority3 - Low => 1 - Later
    2014-03-29 mtmiller Dependencies- => Depends on bugs #37795
    2013-10-28 mtmiller CategoryInterpreter => Plotting with OpenGL
    2010-10-31 rik5 Priority5 - Normal => 3 - Low
        Dependencies- => Depends on bugs #31108
    2010-10-25 bpabbott StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.5