octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values f


From: Rik
Subject: [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes
Date: Wed, 04 Mar 2015 18:28:20 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

Update of bug #44426 (project octave):

                 Summary: ginput doesn't return correct number of button
presses with Qt => ginput with Qt doesn't return values for clicks outside
axes

    _______________________________________________________

Follow-up Comment #1:

I've narrowed down the problem.  It seems that Qt is only accepting button
clicks within the axes.  According to the documentation, ginput is supposed to
extrapolate for values outside the axes.  This is what the FLTK toolkit does.

Simpler test:


./run-octave -f --no-gui
graphics_toolkit qt
plot (1:10, "o-")
x = ginput
# Click outside 2-D axes several times
# Type <RETURN> to end ginput
# result should be x = []



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44426>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]