Skip to main content
1-Visitor
December 23, 2022
Question

Copy/Paste issue with MathCAD 8.0

  • December 23, 2022
  • 4 replies
  • 11492 views

I typically do all my work in a textbox and recently I cannot copy equations and text together and paste below inside the textbox. I would do this all the time but now it doesn't work. I can copy from a textbox and paste outside the text box, but this is inconvenient.

 

Anyone have any insight into why this may be happening now? 

 

Thanks. 

4 replies

18-Opal
December 27, 2022

Attach sheet - 

1-Visitor
December 29, 2022

Hi there, 

 

There is nothing really you attach. I did miss type my situation though. I do all my work in a Text Block not a text box, but I imagine it makes no difference. 

 

Inside the text block I can type freely and initialize variables and work with those variables all inside the text block. This should work for you also. I used to be able to copy any content inside the text block and paste it below also inside the text block. Now all the math content will not paste inside the block. 

 

I can copy math content from inside a text block and paste outside of the text block fine but pasting math content copied from inside a text block and pasting it further down inside the text block no longer works. 

 

 

18-Opal
December 29, 2022

So you have a Text Block. Then you are putting a math function inside the text box?

 

I did that and i can copy and paste fine. 

 

No issues found.

23-Emerald IV
December 31, 2022

I guess you're the first to notice this behaviour.

In my Prime 8 it works (not) in the same way as you describe.

You apparently cannot select the text AND the math expressions sufficiently for them to be copied and then pasted into the same or another text box or text block. In order to copy the (embedded) math regions over, you have to select them separately in order to copy and paste them over.

However if you paste the selection onto the canvas, outside of a text region, it pastes all (text AND math), as a new text region.

The same behaviour occurs in older versions of Prime (I checked Prime 3.1 and 4).

Are you sure it worked previously? Then it may be due to an update of MS dotnet...(and it's certainly NOT due to an update of Prime). However, if it never worked like you might expect, then it's a bug in Prime, dating from the introduction of allowing math regions in text (probably Prime 3).

I'd say, report this as a bug.

 

Success!
Luc

1-Visitor
January 1, 2023

Yeah, I have been working this way since at least MathCAD 6 so it was immediately noticeable when it stopped working. I just thought the program needed a restart at first, but apparently not. Thanks for your input. 

13-Aquamarine
January 9, 2023

I have the same issue just starting in MathCAD Prime 7 about 10 days ago. I use this functionality all the time and it has really broken my work flow. Have no idea why it just stated. 

8-Gravel
January 23, 2023

https://community.ptc.com/t5/Mathcad-Installation/Mathcad-Prime-clipboard-bug-after-NET-7-0-framework-installing/m-p/850819

 

I have several problem. And date several too. You can try to reset applications to default state by standard windows 10 function. And then never install NET 7.0 (uninstalling doesn't have effect). I tried several times and think that problem with NET 7.0.

Please, write here, if you tried too and problem wasn't in NET 7.0.

13-Aquamarine
January 23, 2023

Thanks for info but this is not related to a legacy product that is no longer supported by PTC. Id prefer to concentrate on supported current versions. Uninstalling .NET 7 is not a realistic solution. There is a reason why .NET is updated.

23-Emerald IV
January 23, 2023

Without suggesting to imply that the cause for the behaviour is .net:

It would not be the first time that an update of .net creates errors in certain applications that use .net....

 

Luc

3-Newcomer
February 23, 2023

This is caused by a security update in some Microsoft .Net components related to .Net Framework 4.8. There is a fix for it described in https://support.microsoft.com/en-gb/topic/kb5022083-change-in-how-wpf-based-applications-render-xps-documents-a4ae4fa4-bc58-4c37-acdd-5eebc4e34556

 

You have to download the script from that page and execute it power shell. It worked for me!

13-Aquamarine
February 23, 2023

I raised this error with mathcad a while back and chased up yesterday.

 

They are aware if it see below, I understand mathcad prime 9 will resolve it but they are also working on a fix. I'm going to wait for a fox instead of going through the command line and messing about with my registry 

 

As per R&D analysis & checks, Microsoft’s workaround resolves this issue. Following command needs to be executed in command prompt in Administrator mode

 

reg add "HKLM\SOFTWARE\Microsoft\.NETFramework\Windows Presentation Foundation\XPSAllowedTypes" /v "DisableDec2022Patch" /t REG_SZ /d "*" /reg:64

 

(Above command source KB5022083 Change in how WPF-based applications render XPS documents - Microsoft Support)

 

Please have a glance at below article for more information

 

Unable to copy paste text and Math region in Text block if windows Update KB5020872 for .NET Framework 3.5 and 4.8 is installed on machine

 

 

 

5-Regular Member
July 10, 2023

I upgraded to MathCAD Prime 9 yesterday but, disappointingly, it doesn't fix this issue.

I only have MathCAD Express (the free version), so can't see the article in the link.  Does it say anything interesting?