[Scilab-Dev] datatip contextual menu to copy [x,y]

Stéphane Mottelet stephane.mottelet at utc.fr
Mon Oct 15 10:25:48 CEST 2018


Hello,

Here is a proposition, to be discussed/improved, of course (patch+demo 
video):

https://codereview.scilab.org/#/c/20550/

S.

Le 13/10/2018 à 13:59, Samuel Gougeon a écrit :
> Le 13/10/2018 à 13:28, Samuel Gougeon a écrit :
>> .../...
>>
>>   * 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:
>>
>>     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)
>>     (By the way, in the existing menu, the difference between "Copy"
>>     and "Copy to clipboard" looks unclear to me).
>>
>
> 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, ...
>
>   * The default object when entering the editor is the current axes.
>     OK (but the figure's level is not reachable).
>   * After selecting a curve, the menu opened when right-clicking is
>     the/Axes contextual menu + newly activated items/, instead of
>     being dedicated only to actions /on curves/. Then, it's unclear on
>     what some "general actions" like copy, delete, clear... are done:
>     the axes, the curve, (then the datatip ?) ...
>   * 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.
>
> Regards
> Samuel
>
>
>
>
> _______________________________________________
> dev mailing list
> dev at lists.scilab.org
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/dev


-- 
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
http://www.utc.fr/~mottelet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20181015/4fa0c2db/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gkfaehbmkefaicfl.png
Type: image/png
Size: 15857 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20181015/4fa0c2db/attachment.png>


More information about the dev mailing list