[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures |
Date: |
Sun, 26 Jul 2015 09:18:29 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 |
Follow-up Comment #12, bug #45540 (project octave):
A graphics_object is a generic (proxy) class that only features the
base_graphics_object methods. axes, figure ... are derivatives classes of
base_graphics_object that have more properties and methods. Properties can be
accessed from graphics_object using the generic "get" method, but specific
methods (like pixels2coord) can't. Hence the need for cast. See [1-2] for a
general overview.
Now about the fact that the warning disappeared, it is expected as we don't
use GL_SELECT anymore for retrieving mouse coordinates. On the other hand, to
handle the "buttondownfcn" property (function that is called when a specific
object is clicked) or "uicontextmenu" the selection mechanism is needed, hence
clicking triggers the overflow warning.
[1] http://octave.org/doxygen/4.0/d0/d37/classgraphics__object.html
[2] http://octave.org/doxygen/4.0/dc/d22/classbase__graphics__object.html
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45540>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, (continued)
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Pantxo Diribarne, 2015/07/16
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Philip Nienhuis, 2015/07/17
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Michael Godfrey, 2015/07/18
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Dan Sebald, 2015/07/24
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Michael Godfrey, 2015/07/24
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Pantxo Diribarne, 2015/07/24
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Dan Sebald, 2015/07/24
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Pantxo Diribarne, 2015/07/25
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Michael Godfrey, 2015/07/25
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Dan Sebald, 2015/07/25
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Pantxo Diribarne, 2015/07/26
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Dan Sebald, 2015/07/27
- [Octave-bug-tracker] [bug #45540] Segfault when moving the mouse over Qt figures, Pantxo Diribarne, 2015/07/27