[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43664] ginput() freezes upon double-clicking
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #43664] ginput() freezes upon double-clicking in a fltk figure |
Date: |
Fri, 21 Nov 2014 16:04:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.1.0 |
URL:
<http://savannah.gnu.org/bugs/?43664>
Summary: ginput() freezes upon double-clicking in a fltk
figure
Project: GNU Octave
Submitted by: None
Submitted on: ven. 21 nov. 2014 16:04:15 UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: Adrian
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.2
Operating System: GNU/Linux
_______________________________________________________
Details:
On my computer the bug can be reliably reproduced by the following few
instructions in a fresh interactive session:
# display a large image, then invoque ginput:
a=0:2000;
imagesc(a'*a)
ginput(1)
and then double-clicking inside the Figure window. Normally (such as for a
normal plot() window or if I replace 2000 by a small number such as 20 in the
instructions above) the function ginput(1) will return upon the double-click.
In the above example however the function does not return, and appears to have
frozen: it does not return even upon subsequent clicks (simple left or right
click) into the Figure window. The function has to be interrupted by pressing
Ctrl-C.
The expected behaviour would at least be not to freeze, and either return
immediately or on the next click.
Because double-clicking in a fltk Figure window has a special effect (causing
an autoscale), I feel that ginput() should not react at all to it (lest there
be a way to tell the double-click from a simple click, so we know what is a
mere change of the zoom level and what is real input). But that's another
debate, the bug report here is about the freezing.
System details:
GNU/Linux Debian mixed stable/testing
octave is configured to use fltk as graphics_toolkit
(using graphics_toolkit("gnuplot") the bug disappears, that is ginput(1)
returns upon double-click, but here the double-click also does not have the
special effect of causing an autoscale as in the fltk window)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43664>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43664] ginput() freezes upon double-clicking in a fltk figure,
anonymous <=