Error copying formulas between worksheets

Error copying formulas between worksheets - Messages

#1 Posted: 2/23/2022 7:40:20 PM
Jason McCool

Jason McCool

9 likes in 78 posts.

Group: User

I'm having a problem now when I try to copy and paste formulas between worksheets where SMath Solver pastes a picture of the formula into the new worksheet instead of the formula itself. It's intermittent as I can paste a picture of the formula, and then after a few more tries, correctly paste the formula itself. Anyone else having that problem? This slows down creation of new calcs tremendously if I can't copy and paste sections of formulas and common text from other worksheets already completed (like reinventing the wheel each time...). Any help is appreciated!
Thanks,
Jason
Jason McCool Robbins Engineering Little Rock, AR, USA
#2 Posted: 2/23/2022 9:16:10 PM
Jason McCool

Jason McCool

9 likes in 78 posts.

Group: User

Now, it's happening even in the same worksheet. See screenshot below demonstrating what it's doing. The preliminary calc file is also attached this time, since it's happening in the same file, which there was no point attaching earlier since it was happening intermittently between files. Bar Grating Calc.sm (266 KiB) downloaded 60 time(s).
SMath Copy and Paste Error 2022-02-23.jpg
Jason McCool Robbins Engineering Little Rock, AR, USA
#3 Posted: 2/24/2022 6:47:26 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hello Jason,

are you doing the copy paste of the region object or by selecting the text?
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
João Felipe Seráfico Melo 2/24/2022 8:58:00 AM
#4 Posted: 2/24/2022 9:58:46 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

THIS IS A BUG/ISSUE DISCUSSION, please STAY ON TOPIC

post/replies by other users should be limited to:
  • I cannot reproduce in my setup/environment...
  • I've experienced it in my setup/environment (occasionally, often, in a reproducible way....)
  • other: suggestions on how to reproduce or fix it, requests for clarifications...


setup/environment (program version and localization settings, OS and localization settings, ...): might affect or not the issue, knowing them in the first case might help, in the latter doesn't hurts.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
fedeghi 2/24/2022 10:02:00 AM, overlord 2/24/2022 11:01:00 AM
#5 Posted: 2/24/2022 10:11:30 AM
Jason McCool

Jason McCool

9 likes in 78 posts.

Group: User

I'm selecting the region(s). Normally, if I write a bunch of formulas for the a-axis properties of a structural member, for instance, I'll select all those formulas and copy them down and change all the subscripts from "x" to "y" or "z" or whatever is appropriate for the next set of formulas in some calcs. This makes generating calcs much faster, and is the behavior I've observed in SMath for the last several years I've been using it. Now, it is still doing that sometimes and not other times. It hasn't been consistently one way or the other, so I don't think it's intended (I hope the pasting as a picture isn't an intended "feature"!). I think the inconsistent behavior would be considered a bug either way. This is with build 7921.

Thanks,
Jason
Jason McCool Robbins Engineering Little Rock, AR, USA
#6 Posted: 2/24/2022 10:40:43 AM
Jason McCool

Jason McCool

9 likes in 78 posts.

Group: User

As usual, Jean, I have no idea what your response even means or how it relates to this thread....
Has anyone else seen the behavior I reported with the math and text regions copying as regions sometimes and sometimes as images? Does anyone else have a workaround for getting it to consistently copy and paste as regions?

Thanks,
Jason
Jason McCool Robbins Engineering Little Rock, AR, USA
2 users liked this post
overlord 2/24/2022 11:01:00 AM, fedeghi 2/24/2022 11:41:00 AM
#7 Posted: 2/24/2022 11:25:29 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

I never saw that behavior. The only SMath option that could be related to the problem, and that I know of, is the one shown in the image.

img.jpg

Perhaps changing some of those options will solve the problem.


Yes I have had problems sometimes with certain programs that interact with the windows clipboard. Even Microsoft Office has options to keep a history of the clipboard, and there are other programs with similar or more advanced features.

Best regards.
Alvaro.
#8 Posted: 2/24/2022 11:31:49 AM
sergio

sergio

115 likes in 329 posts.

Group: User

Jason,
Have you checked if you have programs in operation that interfere with the Windows clipboard? I had interference of this type with other programs (not with smath). In the positive case, try deactivating them
sergio
#9 Posted: 2/24/2022 12:11:29 PM
Jason McCool

Jason McCool

9 likes in 78 posts.

Group: User

Sergio, Alvaro - thanks, I'll try checking on a clipboard source of the problem. I do have some screenshot apps running on both my office computer and my home computer that I'm using to connect to the office computer for working from home this week. Maybe that is causing the problem, as they save screenshots to the Windows clipboard and particularly since I've had this version of SMath installed for a while and haven't had this happen before when working in SMath only at the office or only at home (i.e. not remotely connected to the office computer). That might explain why it was intermittent yesterday.

Alvaro: what is that "Automatic replacement" option that you showed on the text region context menu? I didn't even know that was there, and when I search for it, I just see it listed as an item in the recent version history, but no explanation of what it does.

Thank you much.
Jason
Jason McCool Robbins Engineering Little Rock, AR, USA
#10 Posted: 2/24/2022 1:20:47 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Wrote

...

Alvaro: what is that "Automatic replacement" option that you showed on the text region context menu? I didn't even know that was there, and when I search for it, I just see it listed as an item in the recent version history, but no explanation of what it does. ...



Hi. Yes, it is a new feature. Disabling it prevents clipboard content from being pasted into a text region like math. I have it disabled, but I think the default option is to have it enabled.

I have no idea if those options could be the cause of your problem, but hey, in the end they are options about the behavior of the clipboard in SMath.

Here is a recent example of a math area within a text:

https://en.smath.com/forum/yaf_postsm75710_include.aspx#post75710

and here's an example of a file in which I tried to include math regions embeded in text regions, but other users couldn't open it:

https://en.smath.com/forum/yaf_postsm69414_Draghilev-method-revisited.aspx#post69414

Best regards.
Alvaro.
#11 Posted: 2/25/2022 5:13:11 AM
fedeghi

fedeghi

25 likes in 112 posts.

Group: User

He is just trolling us by wasting our time, hijacking topics and spamming the "search" results with useless posts.
At this point, only new forum users would care about his nonsense and try to interact.
Nevertheless this has gone too far, so I simply stopped reading what he writes: 99% is useless twisted sentences, out of topic replies or self-promoting his unrelated files (that no one cares about).
3 users liked this post
NDTM Amarasekera 2/25/2022 8:31:00 AM, overlord 2/25/2022 8:05:00 AM, Jason McCool 2/28/2022 10:41:00 AM
#12 Posted: 2/25/2022 4:07:00 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

I do have some screenshot apps running on both my office computer and my home computer that I'm using to connect to the office computer for working from home this week. Maybe that is causing the problem, as they save screenshots to the Windows clipboard and particularly since I've had this version of SMath installed for a while and haven't had this happen before when working in SMath only at the office or only at home (i.e. not remotely connected to the office computer). That might explain why it was intermittent yesterday


This is definetly something that could cause the issue. SMath sends to the clipboard several data formats and if an external application has to manage the clipboard to transfer data from a client to another, some kind of common data format might be prioritized while the custom ones might be even completely excluded (just as principle, but I have experienced clipboard issues in remote working on other programs too).

Wrote

For images, I rarely use Print Screen,
Rather WinGrab for saving *.PNG ... few more advanced facilities.
Once WinGrab image is captured/cropped ... copy paste in Smath.


Jean, you are once again off-topic, it was clearly described by Jason as a copy-paste issue where a image is returned when a math region is expected, no one has mentioned screenshots.

Also, as basic netiquette you don't need to highlight words in other people threads, unless you are a moderator or you have something very important to show in a very crowded thread, just like you won't yell randomly some words speaking with other people in a room.

99% of reports in this forum are about noise/OT discussions triggered by your messages, and you was already warned and temporary-banned. Please follow the hints and don't join a thread unless you have something really valuable to say.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
3 users liked this post
NDTM Amarasekera 2/25/2022 11:18:00 PM, Jason McCool 2/28/2022 10:42:00 AM, overlord 2/25/2022 4:10:00 PM
#13 Posted: 2/28/2022 11:58:22 AM
Jason McCool

Jason McCool

9 likes in 78 posts.

Group: User

Wrote

Wrote

I do have some screenshot apps running on both my office computer and my home computer that I'm using to connect to the office computer for working from home this week. Maybe that is causing the problem, as they save screenshots to the Windows clipboard and particularly since I've had this version of SMath installed for a while and haven't had this happen before when working in SMath only at the office or only at home (i.e. not remotely connected to the office computer). That might explain why it was intermittent yesterday


This is definetly something that could cause the issue. SMath sends to the clipboard several data formats and if an external application has to manage the clipboard to transfer data from a client to another, some kind of common data format might be prioritized while the custom ones might be even completely excluded (just as principle, but I have experienced clipboard issues in remote working on other programs too).



Thanks, Davide. I used SMath several more times the last few days on my home computer without being remotely connected to my office computer and haven't had the copy-paste problem since then, so I think you're right and it's tied to order of priority for overlapping programs using the clipboard. So, at this point, I'd say it's no actual bug with SMath and is just clipboard interference between programs.
Jason McCool Robbins Engineering Little Rock, AR, USA
1 users liked this post
Davide Carpi 2/28/2022 5:24:00 PM
  • New Posts New Posts
  • No New Posts No New Posts