pcbnew: disable locked items in selection clarification list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Low
|
Jeff Young |
Bug Description
Problem: some items on the board are locked (like footprints). Trying to move those, will result in an popup telling you it's a locked part (which is fine).
If one tries to move those parts via the hotkey, imho, nothing should happen (actual result: the mentioned popup, slowing down the workflow).
If there's more then one part under the cursor, the "Selection Clarification" dialogue pops up (also ok), but locked items are selectable to move (which will result in the first mentioned popup).
An easy option to avoid selecting items which are locked, is to disable those entries in the list.
Sadly it's not possible to get any information inside the PCB_BASE_
The main problem with the attached (ugly) quickfix to disable the locked entries is, you cannot tell what kind of action called the function (move, rotate and flip are forbidden for locked parts, but editing the properties for the part is ok - so one can disable the lock again).
The patch disables the "first level access" to the part, but selecting a pad from the part and then choosing the part from the pads menu still works. I don't really recommend using the patch ;).
Also it would be nice to number the entries inside the selection clarification menu (or all the other menus you can trigger with hotkeys) and assign some kind of context sensitive hotkeys, to access the right entry (like pressing '1' for the first entry and so on).
Version:
testing, 3762.
Changed in kicad: | |
milestone: | none → 6.0.0-rc1 |
Changed in kicad: | |
importance: | Undecided → Low |
I'm also stumped by this. It seems to me that "fully locking" a part shouldn't allow it to be moved. How else can the designer feel safe that an electromechanical interface, such as a connector, won't accidentally get shifted even when the component is locked?
I've attached an example video of Cadence Allegro PCB Designer. You can see that the option to move the part goes away for an individual footprint, and when moving a group of footprints the locked/fixed part is de-selected and doesn't move. While the notification is arguably too minimal, at least it doesn't get too "in your face" like a blocking dialog and it's relatively easy to get used to.