in auto_orientation mode, .orientation is not updated with the actual orientation
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
I need to know where is the datatip box. But when .auto_orientation=="on",
.orientation is set to a fixed value that does not hold the actual position of the box wrt the anchor.
And there is no workaround.
A side effect of this is that when we set .auto_orientation="off", then the datatip box jumps to
the fixed .orientation value that most often was most not the proper automatic one.
Thus, we don't have any way to know which position was the (proper) one (according to the internal algo).
ERROR LOG:
----------
none. wrong behavior
HOW TO REPRODUCE THE BUG:
-------------------------
x = linspace(1,10,100);
clf
plot2d(x,sin(x))
d = datatipCreate(gce().children,[3 0]);
d.orientation // ==0 (upper right)
// Then slide by hand the datatip around x~6 to auto-orient it on lower right (did not find any function to do that)
d.orientation // Still ==0 (upper right)
OTHER INFORMATION:
------------------
Same on Scolab 6.0.0-b2+