Bug in the SMAth by copy & paste of any varuable (CTR+C & CTR+V)

Bug in the SMAth by copy & paste of any varuable (CTR+C & CTR+V) - Messages

#1 Posted: 5/5/2021 7:57:12 AM
Andrey

Andrey

1 likes in 44 posts.

Group: User

Dear SSMath Developer,

I think the SSMath version ( "0.99.7792" ) has a bug.

If one couples an object from the math. formula (with help of CTRL+C), then CTRL+V, then appears instead of the variable at the page a graphic


bug.gif


Best regards,
Andrey
#2 Posted: 5/5/2021 8:48:10 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

This is because the plugin implements

public string[] SupportedClipboardFormats => new[] { DataFormats.UnicodeText };

Hence when a plain text is passed the plugin handle the action.

Guess would be needed a "paste as" when multiple plugins are available for such task, with the built-in as default (if any).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Andrey Ivashov 5/5/2021 6:57:00 PM
#3 Posted: 5/7/2021 9:46:10 AM
Andrey

Andrey

1 likes in 44 posts.

Group: User

Wrote

This is because the plugin implements

public string[] SupportedClipboardFormats => new[] { DataFormats.UnicodeText };

Hence when a plain text is passed the plugin handle the action.

Guess would be needed a "paste as" when multiple plugins are available for such task, with the built-in as default (if any).




Hello Davide,


thank you for your answer.

Now I have the dilemma, which plugin is responsible for this effect...
I have to turn on and off each plugin step by step to determine it.

Best regards,
Andrey


#4 Posted: 5/7/2021 1:37:26 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Is the plugin that is shown when you paste the data

So in this case is XYPlotRegion probably
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 5/10/2021 5:28:30 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

I've corrected plug-ins to disable handling of text from clipboard by default (as I see it was activated by mistake because of using the same code templates).
So issue is gone. One just need to update installed plug-ins. Note: the latest SMath Studio beta must be used.

Best regards.
#6 Posted: 5/11/2021 7:52:10 AM
Andrey

Andrey

1 likes in 44 posts.

Group: User


Hello Andrey and Davide,

thank you for the help and the fixing of this nice tool.

Best regards,
Andrey
  • New Posts New Posts
  • No New Posts No New Posts