Pin property "common to all units in component" defaults to checked condition when initially unchecked

Bug #1491456 reported by Brian J Hoskins
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Won't Fix
Undecided
Unassigned

Bug Description

EXPLANATION OF BUG:
When laying pins for a part which has multiple units, there is an option in the pin properties under 'Sharing' called "Common to all units in component".
If this check box is un-checked at the point of creation then the pin is only supposed to appear in the currently selected unit. However, the pin appears in all units even though the check-box was explicitly un-checked. If I enter pin properties again the check-box is confirmed as un-checked. If I then explicitly check the box, exit pin properties, then enter pin properties again and un-check it, then the correct behaviour is observed; the pin only appears in the unit currently selected.

It seems that the check-box status is not initialised properly at the point of creation and it defaults to the checked condition even if it is un-checked. The check-box then has to be toggled, which presumably raises the software events which will put the pin into the correct state.

KICAD VERSION:
Application: kicad
Version: 0.201508190901+6103~28~ubuntu15.04.1-product release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.9.2,wx containers,compatible with 2.8)
Platform: Linux 3.19.0-26-generic x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

OS VERSION:
Kubuntu 15.04

STEPS TO RECREATE:
Enter the schematic library editor
Create a part with multiple units.
Select unit A, and select the pin creation button.
In the pin properties, UN-CHECK " Common to all units in component.
Select OK to create the pin.
Notice that the pin is visible in all units, even though the check-box was UN-CHECKED.
Return to unit A, select the pin and enter pin properties.
CHECK the box "Common to all units in component." Select OK.
Notice that the pin is still visible in all units.
Return to unit A, select the pin and enter pin properties.
UN-CHECK the box "Common to all units in component." Select OK.
Notice now that the CORRECT behaviour is observed: the pin only shows in unit A.

Revision history for this message
jean-pierre charras (jp-charras) wrote :

"If this check box is un-checked at the point of creation then the pin is only supposed to appear in the currently selected unit"

Not exactly.
When units are interchangeable, a pin is created for each unit (Creating, moving, deleting a pin commands they are "synchronized" for each unit)

But pins are different pins.
You can change the pin num: it will be changed only for the current unit.
Because they are actually separate pins

Revision history for this message
zaurak (zaurak0) wrote :

Same here, very upsetting to use it this way, as you always have to edit each pin afterwards.
please fix it!

Revision history for this message
Jeff Young (jeyjey) wrote :

This is working correctly, although the user model can be somewhat opaque. However, we're tracking that one here: https://bugs.launchpad.net/kicad/+bug/1509936.

Changed in kicad:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.