[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44897] ginput() hangs interpreter if window c
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #44897] ginput() hangs interpreter if window closed before routine completes |
Date: |
Wed, 22 Apr 2015 03:18:58 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 |
URL:
<http://savannah.gnu.org/bugs/?44897>
Summary: ginput() hangs interpreter if window closed before
routine completes
Project: GNU Octave
Submitted by: rik5
Submitted on: Tue 21 Apr 2015 08:18:57 PM PDT
Category: Octave Function
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
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:
[x,y,b] = ginput
## Now close plot window
## Octave interpreter is left hanging until Ctrl+C is pressed.
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44897>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #44897] ginput() hangs interpreter if window closed before routine completes,
Rik <=