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: Mike Miller
Subject: [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes
Date: Thu, 12 Mar 2015 04:07:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36

Follow-up Comment #2, bug #44426 (project octave):

This is due to differences in how the buttondownfcn callback works between Qt
and FLTK. The ginput function is using buttondownfcn, but maybe it should be
using windowbuttondownfcn instead to ensure that clicks anywhere in the figure
are caught.

However, in FLTK when the windowbuttondownfcn callback is used, the mouse
coordinates from the "currentpoint" property of the axes lag one click behind.
But with the Qt toolkit the "currentpoint" property is correct when the
windowbuttondownfcn callback is called.

Seems to me like the Qt behavior is better, but fixing this for Qt using
windowbuttondownfcn would break ginput for FLTK.

    _______________________________________________________

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]