When using the QT terminal, it is not possible to stop rotating the plot (created with splot), after using the left mouse button.
With the X11 terminal everything works correctly, i.e. the plot can be rotated only while the left mouse button is pressed. However, with the QT terminal, it is as if the left mouse button is never released, and no other mouse operations can then be done (e.g. zoom). And worse, it is not possible to reach the "Save"-menu without rotating the plot...
$ gnuplot --version
gnuplot 4.6 patchlevel 5
which I built using
$ gcc --version
gcc (GCC) 4.8.3 20140320 (prerelease)
Otherwise:
QT 4.6.2 on Redhat Enterprise Linux 6.5
For completeness, here is my plot shell script:
*************************************
#!/bin/sh
set -o errexit -o nounset
FILE="$1"
gnuplot << END
set terminal qt
#set terminal x11
set key off
splot "$FILE" matrix with lines
pause mouse button3
END
***************************************
where the file argument is a simple file containing the test data:
0 0 0 0 0
0 1 1 1 0
0 1 2 1 0
0 1 1 1 0
0 0 0 0 0
Diff:
I have seen this occasionally. For me the continuous response to the mouse is accompanied by an icon change and it is terminatd by the first subsequent mouse click.
I have always interpreted this as a false triggering of the window manager's "gesture" mode rather than anything to do with qt or gnuplot per se. I get the same things sometimes with mousing in the chrome browser or the okular document viewer.
The Qt environment does have its own "gesture management" component, however, so possibly there is a call that gnuplot could make into it to request disabling or down-weighting detection of the continuous mousing gesture. Your version of Qt is older than anything I've ever worked with, so that may be playing into it also.
Fixed in CVS for 4.6
(wasn't a problem in 5.0)
Can you give a link to the actual change ?
I think this should be it:
http://gnuplot.cvs.sourceforge.net/viewvc/gnuplot/gnuplot/src/qtterminal/QtGnuplotScene.cpp?r1=1.4.2.15&r2=1.4.2.16&pathrev=branch-4-6-stable
The version 4.6 Changelog can be found here:
http://gnuplot.cvs.sourceforge.net/viewvc/gnuplot/gnuplot/ChangeLog?&view=markup&pathrev=branch-4-6-stable
Thanks - that was quick.