[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/
- [Octave-bug-tracker] [bug #44426] ginput doesn't return correct number of button presses with Qt, Rik, 2015/03/04
- [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes, Rik, 2015/03/04
- [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes,
Mike Miller <=
- [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes, Rik, 2015/03/12
- [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes, Mike Miller, 2015/03/12
- [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes, Mike Miller, 2015/03/12
- [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes, Mike Miller, 2015/03/13
- [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes, Mike Miller, 2015/03/13
- [Octave-bug-tracker] [bug #44426] ginput with Qt doesn't return values for clicks outside axes, Mike Miller, 2015/03/15