Locked Objects can be moved even when unselected in Selection Filter
Description
A locked object is supposed to be immovable, and having it unselected in the Selection Filter should avoid the selection of any of its parts. If the Locked Object is selected and dragged, a dialog allows them to be skipped or overridden in the current session, but this is not working.
When an object is locked and the Selection Filter has "Locked Objects" unchecked, the object can't be selected, as is B1 in this case, in the first image. However, you can select part of the locked object if that part is checked in the selected filter list, like Pads in this example, and shown in the second image. Any pad of this locked module can be selected even when Locked objects is unchecked in the selection filter. As shown in the third image, the locked object can be moved if grabbed by the selected pad and dragged around. If Locked Objects is checked in the Selection filter, it can be selected, but when dragged, a dialog appears asking if you want to override locks or skip locked items and to remember the choice during the current session. Even when asked to skip locked items and checked the Remember choice, the selected object can be dragged and moved around. All locks act as disabled or inexistent.
Steps to reproduce
- Lock any object and uncheck "Locked Objects" from the selection filter list.
- Select a part of the locked object that belongs to a checked part in the filter list, like a pad or a zone or text.
- Drag the object from the selected part and it will move, overriding the locks.
- If Locked Objects is checked in the filter, before dragging the object, a dialog asks if locks must be overridden or to skip the locked objects. Check "Remember decision" and Select "Skip Locked Items".
- Drag the Locked Item and it will move as if it was not locked or as if "Override Locks" was selected in the previous step.
KiCad Version
Application: KiCad x64 on x64
Version: 9.0.3, release build
Libraries:
wxWidgets 3.2.8
FreeType 2.13.3
HarfBuzz 10.2.0
FontConfig 2.15.0
Platform: Windows 11 (build 26100), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) UHD Graphics 770, 4.6.0 - Build 32.0.101.6556
wxWidgets: 3.2.8 (wchar_t,wx containers)
Boost: 1.88.0
OCC: 7.9.1
Curl: 8.13.0-DEV
ngspice: 44
Compiler: Visual C++ 1942 without C++ ABI
KICAD_IPC_API=ON
Locale:
Lang: en_GB
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)




