pcbnew board setup dialog does not set values.

Bug #1836909 reported by Dino Ghilardi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
New
Undecided
Unassigned

Bug Description

In Master branch:

Setting any value in board setup dialog has no effect: closing and re-opening the dialog looses its previous content.

Opening board setup->tracks and vias there is no item in the table, even if width and via sizes is defined and appears in the drop-down menu in the main window of pcbnew.

The same happens using "edit predefined sizes" drop-down menu in the main window toolbar.

Defining a new size and clicking 'ok' does not accept the value (it does not update the list of usable track sizes).

To test it:
File->board setup
(all the tables are empty)
Change or set something (for instance the number of layers of the board)
close dialog with "ok"
The number of layer is not changed (no change in the layers panel).
Re-opening the File->board setup dialog still shows 2layers.

Also with a "clean build" i get the same behaviour.

Cheers,
Dino.

-----

Tested on commit e5463b545514ddfc849c6985e8884d1dec5edd3b
Application: Pcbnew
Version: (5.1.0-1304-ge5463b545), release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2s zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

-----------------------

Tested also on previous commit:

Application: Pcbnew
Version: (5.1.0-1292-g920f128cc), release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2s zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Tags: pcbnew
description: updated
Revision history for this message
Dino Ghilardi (dino-ghilardi) wrote : Re: [Bug 1836909] Re: pcbnew board setup dialog does not set values.

On 17/07/19 16:04, Jeff Young wrote:
> *** This bug is a duplicate of bug 1836901 ***
> https://bugs.launchpad.net/bugs/1836901
>
> ** This bug has been marked a duplicate of bug 1836901
> Hotkeys are missing from EESchema and PCBNew
>

So the same bug seems to affect more than one dialog... I did not notice
that at first.

File->board setup: all data empty or at default choice value [Bug 1836909]

Preferences->Preferences: All data empty or at default choice value
[bug 1836901]

Like i those windows are not initialized but keep their defaults and
exiting the new values are not saved.

Cheers,
Dino.

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

Yeah, it affected any paged dialog (the ones with the list of pages down the left side).

Fixed now, in any case.

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.