[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44302] Qt mouse wheel zoom direction should b
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #44302] Qt mouse wheel zoom direction should be reversed |
Date: |
Mon, 02 Mar 2015 17:15:16 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #10, bug #44302 (project octave):
It should be Qt who decides on single/double click. But Octave is not
connecting to the single click event. In Canvas.cc, the code connects to
void Canvas::canvasMousePressEvent (QMouseEvent* event)
void Canvas::canvasMouseReleaseEvent (QMouseEvent* event)
void Canvas::canvasMouseDoubleClickEvent (QMouseEvent* event)
The code in canvasMousePressEvent detects the first button down of a double
click and implements the "Zoom In" function. Only later does Qt deliver a
DoubleClickEvent which then autoscales the axis. So there is a strange Zoom
In, followed by a jump back to the autoscaled size.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44302>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44302] Qt mouse wheel zoom direction should be reversed,
Rik <=