Pcbnew does not allow deleting locked footprints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Low
|
Seth Hillbrand |
Bug Description
If I have placed one or more footprints on a board and locked them, they cannot be directly deleted. When I press the Delete key (or Backspace or use the RMB menu) the footprints are unhighlighted and Pcbnew goes back to an idle state without giving the user any feedback. I must unlock the footprints to delete them.
My expectation would be that Pcbnew recognizes what I've done and asks for confirmation. If I confirm, the footprints would be deleted even if they're locked.
I can see this being a little tricky, however. What if there are some locked and some unlocked footprints in the selection set? Should the dialog includes a list of all ref des I've selected? Just a count of all locked footprints? Should both locked and unlocked be displayed? Should the unlocked ones be deleted and I'm only prompted for confirmation of locked footprints? Perhaps just a simple text note in the status bar of Pcbnew alerting the user that the footprints cannot be deleted because some of the selected footprints are locked? In some way, those questions can be resolved so pressing the Delete key doesn't result in the operation being cancelled without any user notification.
Application: kicad
Version: (6.0.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.1
Compiler: GCC 8.2.0 with C++ ABI 1013
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
assignee: | nobody → Seth Hillbrand (sethh) |
importance: | Undecided → Low |
milestone: | none → 5.1.0 |
status: | New → In Progress |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I think there should be a simple time-limited feedback mechanism that:
* Does not invoke any kind of dialog that need interaction (e.g. an OK dialog)
* Does not substantially block the working area
* Doesn't cover up normal status bar elements for an indefinite time
Perhaps the same popup that is used for self-intersecting polygons? Or something like the Android "toast" mechanism.
I'd actually like the same mechanism to be used for a lot more feedback, as it reassuring to know what KiCad is doing when it's non-obvious, not visible (too small or off screen) or ambiguous.