<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
Here is a proposition, to be discussed/improved, of course
(patch+demo video):<br>
<br>
<a class="moz-txt-link-freetext" href="https://codereview.scilab.org/#/c/20550/">https://codereview.scilab.org/#/c/20550/</a><br>
<br>
S.<br>
<br>
Le 13/10/2018 à 13:59, Samuel Gougeon a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:95f93dcc-61fe-cb41-bf34-355d2a3ad26e@free.fr">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Le 13/10/2018 à 13:28, Samuel Gougeon
a écrit :<br>
</div>
<blockquote
cite="mid:e85e7740-ae0a-f56e-45e7-c81bd4cc2d73@free.fr"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
.../...
<ul>
<li><span class="term">Out of the datatip mode (which requires
a first click to activate it), in the general interactive
editor : left-clicking on an anchor selects the whole
curve instead of only the datatip. Then right-clicking
opens the contextual menu, with actions for the axes or
the curve:</span><br>
<span class="term"></span><span class="term"><img
src="cid:part1.5408ABBA.BCC73C8B@utc.fr" alt="" class=""
width="286" height="362"><br>
It would be interesting to resolve the clicked object: if
the click position is around an anchor, then in the
contextual menu the "copy to clipboard" action could be
about the only datatip (its coordinates)<br>
(By the way, in the existing menu, the difference between
"Copy" and "Copy to clipboard" looks unclear to me).</span></li>
</ul>
</blockquote>
<br>
About this last point: The issue that makes things rather puzzling
is that, presently, the contextual menu mixes items related to
different objects: Axes, and curves, ...<br>
<ul>
<li>The default object when entering the editor is the current
axes. OK (but the figure's level is not reachable).</li>
<li>After selecting a curve, the menu opened when right-clicking
is the<i> Axes contextual menu + newly activated items</i>,
instead of being dedicated only to actions <i>on curves</i>.
Then, it's unclear on what some "general actions" like copy,
delete, clear... are done: the axes, the curve, (then the
datatip ?) ...<br>
</li>
<li>For datatips, imho it would be more handy to resolve the
left selecting click without having to activate the
datatipManagerMode, and then display a contextual menu with
actions only on the selected datatip, like copying its
coordinates.</li>
</ul>
<p>Regards<br>
Samuel</p>
<p><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@lists.scilab.org">dev@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/dev">https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/dev</a>
</pre>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a></pre>
</body>
</html>