Copy paste creates scripts

Version: 8.99.0-unknown-062db51f24~178~ubuntu24.04.1, release build

If I select, copy and paste I get script along with the graphic or text objects selected and pasted.

For example if I create text object, Hello, how are you, then copy and paste I get this script shown below. I also get the original text object which shows up lower and to the right, far from my cursor when I paste.

(text "Hello, how are you." (exclude_from_sim no)
 (at 191.516 207.772 0)
  (effects (font (size 1.27 1.27)))
(uuid "b67d9f88-3a2d-439d-ade9-37217f21d782")
)

It seems like I can select and delete the script without any problem when small, however:

Segmentation fault and crash exit when a very large paste script.

Do I have something set wrong in a preference somewhere ?

It’s not a script. It’s an S-expression representing the object. Sorry, don’t know about the location and crashes. You realise that 8.99 is a testing version?

Thanks, Yes I understand 8.99 is a dvel version. And thanks for informing that it is an S-Expression so I can use the correct term.

It is ok, but I am just wondering if it is ‘normal’ for this to appear in this development version. I can live with it if the answer is yes.

The KiCad-Nightly versions (any version with 99 in it’s version number) are not intended to be used for real project. They are there so users can help with debugging the software. If you want to help with this, then report bugs you found back to gitlab, because that is where the developers communicate with each other.

But reporting back properly does take a bit of effort. You should first search whether the issue you want to report has been mentioned before, and you have to follow the rest of the rules (you get a template when you open an issue (bug report) on gitlab.

Calling things by their correct names is also an important part of such bug reports. On this forum it does not matter much whether you call this a “script” or an S-expression, but on github such things both are more confusing (developer time is a precious resource for KiCad) and it makes it much harder when searching for existing issues.

When I report an issue on gitlab, I can spend half an hour in formulating the text for an issue that can be fixed in 10 minutes. I consider their time more valuable then mine. There are many KiCad users with a whole lot of time, while there are not many with the skill, knowledge and motivation to work on the source code for KiCad.

Please report a bug, including the details of what you paste that results in a segmentation fault.

Segmentation Fault:

I created a new project, a new schematic page. Then I created a text box and pasted the text of the 1st three posts of this thread into the text box. All went normal. Then when I exited/closed the schematic, it crashed out. So it seems that any text, not just S-expressions crash out, here is the console message.

rich@x:~$ kicad-nightly
Segmentation fault (core dumped)

Can you report a bug on gitlab so the whole development team can look at it? Report an Issue | KiCad EDA

I will give it a try, thanks for the link.

If you have an active gitlab account, you can also create a bug report directly from within KiCad with: Help / Report Bug

image

This also directly fills in the (mandatory) version information in the bug report.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.