3D shapes library wizard not updating library list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Ian McInerney |
Bug Description
The 3D shapes library wizard in pcbnew is not displaying the correct library list. When first opened the list is blank, and is only populated by trying to search (or going back to the 1st page and back). If the URL is modified on the 1st page, then the library list is never updated to reflect the contents at the new URL.
Reproduction:
1) Open the 3D shapes libraries wizard (in Preferences)
2) Leave the URL the default
3) Click next
4) Note that the library list is empty
5) Type anything in the search box, the list now populates
6) Go back to the first page
7) Edit the URL to an invalid one (add random characters to the end)
8) Click next
9) The library list still contains the list from the previous URL
This was tested on a build from the head on the 5.1 branch.
Application: Pcbnew
Version: (5.1.2-
Libraries:
wxWidgets 3.0.4
libcurl/7.59.0 OpenSSL/1.1.0i zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh/
Platform: Linux 5.0.9-100.
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.66.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.59.0
Compiler: GCC 8.0.1 with C++ ABI 1012
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: pcbnew |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
The attached patch makes the list update when the page is first visited. It also updates the list on any change to the text in the URL box.