Fieldname added to component using Field Properties

Bug #1497036 reported by Brian Sidebotham
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Brian Sidebotham

Bug Description

A new field is added to a part in the part library editor when the Field Properties dialog is opened. So below the Datasheet field a new field "Fieldname" with the default value "Value" is added and retained if you press the OK button.

Subsequent opening of the dialog does not add more copies of the field.

Selecting the field and clicking "Delete Field" only removes "Value" and sets the field value to blank "". You must press Delete Field again to actually remove the field from the part!

Application: kicad
Version: (2015-09-15 BZR 6201)-product debug build
wxWidgets: Version 3.1.0 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.8.4,wx containers)
Platform: Linux 3.16.0-38-generic x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

description: updated
Revision history for this message
Stefan (stol) wrote :

Hi

This is deliberately behaviour of the "delete field" button (according to the source code)

The first press erase the value and the next press erase the field name.

> You must press Delete Field again to actually remove the field from the part!

This is not entirely true, the first press on "delete button" will erase the value
and if the user press the OK button the filed will be erased as well without the need
of pressing the delete button a second time.

Any field with an empty value will be erased when the OK button is pressed.

This bug tracker will be set into state invalid, a message have been sent to the author asking if this is a satisfied answear or
if the author want to continue to push it as a wish list.

Changed in kicad:
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Brian Sidebotham (brian-sidebotham) wrote :

Please read the bug report more carefully.

The actual bug being reported is the first paragraph and is a bug. A new field "Fieldname Value" should not be added to a component when the Field Properties dialog is added. That is a bug.

Changed in kicad:
status: Invalid → New
assignee: nobody → Brian Sidebotham (brian-sidebotham)
Revision history for this message
Jeff Young (jeyjey) wrote :

Does this still happen? I can't reproduce it in 4.0.7 or the nightlies, even when the library copy has more fields than the schematic copy.

Changed in kicad:
status: New → Incomplete
Jeff Young (jeyjey)
Changed in kicad:
status: Incomplete → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
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.