bugGNU Octave - Bugs: bug #44897, ginput() hangs interpreter if...

 
 

bug #44897: ginput() hangs interpreter if window closed before routine completes

Submitted by:  Rik <rik5>
Submitted on:  Wed 22 Apr 2015 03:18:57 AM UTC  
 
Category: Octave FunctionSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned 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 15 May 2015 11:52:54 PM UTC, comment #1:

Fixed in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/2283dd03bf50).

Rik <rik5>
Project Administrator
Wed 22 Apr 2015 03:18:57 AM UTC, original submission:

When ginput() is active, and the plot window is closed with the close button on the window menubar, then the interpreter is left hanging waiting for the function to complete. A Ctrl+C will interrupt things and return the user to the prompt so there is a workaround.

Sample Code:

Possibly could work around this by inserting our closereq callback routine while ginput is active. And if the user already had a closereq routine we would need to save and restore it.

Rik <rik5>
Project Administrator

 

(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 rik5 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 15 May 2015 11:52:54 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1