[EESchema] Creating a label/text, placing it, then creating another label/text but not placing it, and repeating last item creates ghost symbol of second item
Description
I think this issue was reported in the past, but it seems to be persistent with labels (all types) and also with generic text but not text boxes. Geometric objects (lines, arcs, circles and polygons) are not affected. The ghost symbol only disappears if you restart EESchema or if you have on your cursor a new symbol/geometric object.
Example for label:
Steps to reproduce
- In EESchema, create text or any sort of label. Place it.
- Create a new text or any sort of label, but do not place it, just have it on your cursor.
- Press Insert to repeat last item. The first item is repeated but not the second since we have not placed it yet.
- Cancel all actions with ESC. Observe how the second item that we had on the cursor has now become a ghost.
- To delete the ghost, place a new object on screen. Repeating last item with Insert will not do. You need to place it by hand. Copying will also not work.
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: 8.0.0-rc2-253-g7e194d5f69, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.12.1
HarfBuzz 8.3.0
FontConfig 2.14.2
Platform: Windows 11 (build 22631), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.5.0-DEV
ngspice: 42
Compiler: Visual C++ 1936 without C++ ABI
Build settings: