Bug 321686

Summary: Rotation, zoom and alpha change keys do not work for 3D graphs
Product: [Frameworks and Libraries] analitza Reporter: Yuri Chornoivan <yurchor>
Component: analitzaplotAssignee: Aleix Pol <aleixpol>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: lueck, percy.camilo.ta
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Yuri Chornoivan 2013-06-27 20:08:06 UTC
Although the keys are defined in graph3d.cpp they do not work.

Reproducible: Always

Steps to Reproduce:
1. Switch to 3D Graph tab.
2. Enter '(x,y)->5*sin((x^2+y^2)^.5)/(x^2+y^2)^.1' in the command line.
3. Click inside the plotting area.
3. Press up and down arrows, press left and right arrows, press W, S, Q or E on keyboard.
Actual Results:  
Nothing happens.

Expected Results:  
Rotation, changing alpha, zoom in/out.

Many thanks for fixing this bug.
Comment 1 Aleix Pol 2013-06-27 23:12:30 UTC
This change is caused because of the creation of a new widget for the 3D view.
Comment 2 Aleix Pol 2013-10-28 13:14:43 UTC
Git commit d075c4f4e647322c95bfc3ad978abd0c4975fee8 by Aleix Pol.
Committed on 28/10/2013 at 13:11.
Pushed by apol into branch 'KDE/4.11'.

Make it possible to Zoom in and out using W and S.

This was a regression from the porting away from Graph3D

M  +12   -0    analitzagui/plotsview3d.cpp
M  +2    -0    analitzagui/plotsview3d.h

http://commits.kde.org/analitza/d075c4f4e647322c95bfc3ad978abd0c4975fee8
Comment 3 Aleix Pol 2013-10-28 19:05:16 UTC
Git commit b31b6700fcfdff2c1492b9418e29a0a85d6d531b by Aleix Pol.
Committed on 28/10/2013 at 19:03.
Pushed by apol into branch 'KDE/4.11'.

Support rotation using arrow keys

This is a regression.

M  +12   -0    analitzagui/plotsview3d.cpp

http://commits.kde.org/analitza/b31b6700fcfdff2c1492b9418e29a0a85d6d531b
Comment 4 Aleix Pol 2013-10-28 19:11:33 UTC
Q and E are not working now, we'll need to find different UI approach to do so in KAlgebra now, it wasn't very good anyway.