Sketcher/Expressions: Copying parts of an expression sketch after pasting breaks the expression (Ctrl+C / Ctrl+V).
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Problem description
If we copy an element with an assigned expression and paste it, then the inserted element will display the correct constraint value, but it will no longer be an expression.
However, there is no way to identify this in the 3D window. To see this you need to open constraints.
https://github.com/user-attachments/assets/a345bb9b-8021-48a7-998a-6dfdc5ffea29
[Copy-Paste.FCStd.del_this_and_zip.zip](https://github.com/user-attachments/files/16348460/Copy-Paste.FCStd.del_this_and_zip.zip)
### Full version info
```shell
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.38314 (Git) AppImage
Build type: Release
Branch: main
Hash: 3fa339e9eb71d34542e463b3f4581857a9e696fb
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Russian/Russia (ru_RU)
Installed mods:
* OpenTheme 2024.7.3
* PitchedRoof
```
### Subproject(s) affected?
Sketcher
### Anything else?
_No response_
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.