BUG DESCRIPTION:
----------------
when clicking in the graphic window with the mouse the coordinates x,y stored with [ibutton,x,y]=click() doesn't coincide with the mouse position
ERROR LOG:
----------
no error message
HOW TO REPRODUCE THE BUG:
-------------------------
clf; plot2d(0,0,rect=[0,0,1,1]);xgrid(1);// set graphic windows
[ibutton,x,y]=xclick()// + click in graphic window
plot(x,y,'xr') // ->the position differs from the mousse position
OTHER INFORMATION:
------------------
the bug appears only with scilab 6.0.0 and MAC OS X, it was reported by different users and discussed in gmane.comp.mathematics.scilab.user (see archive https://www.mail-archive.com/users@lists.scilab.org/msg06856.html) a detailed example of the bug was obtain. While clicking on points (1,0), (0.9,0.1), (0.8,0.2), (0.7,0.3), (0.6,0.4) and (0.5,0.5) the user obtained the values below , they look shifted of (-0.5,+0.5) in average compared to selected points in the graphic window.
x =
0.4169399
0.3666667
0.3163934
0.2661202
0.215847
0.1677596
0.1677596
y =
0.5811594
0.6318841
0.6782609
0.7289855
0.7768116
0.8304348
0.8304348