Kicad: After renaming file to be in a different dir it's displayed in both locations

Bug #1852431 reported by Mikołaj Wielgus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Low
Jeff Young

Bug Description

In project manager, when "Rename File..." option is used to move a file to a different directory in the project, the file becomes displayed in both the (incorrectly) previous and (correctly) new locations (screenshot attached). It stops being incorrectly shown after Kicad is restarted.

Application: KiCad
Version: (5.99.0-360-ga6b94b37e), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    Build date: Nov 13 2019 00:18:50
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.71.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.66.0
    Compiler: GCC 9.2.0 with C++ ABI 1013

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

Revision history for this message
Mikołaj Wielgus (mwielgus) wrote :
Jeff Young (jeyjey)
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
status: New → In Progress
importance: Undecided → Low
milestone: none → 6.0.0-rc1
Revision history for this message
Jeff Young (jeyjey) wrote :

This bug has been in the codebase since at least 4.x. Since it took this long to get reported, I'm only going to merge the fix to 6.0. (It is a fairly safe fix so if someone feels strongly that it should be in 5.1.5 or 5.1.6, speak up.)

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 8ce04d3362518cf1a54e87cb8d5bf3bd183955ed
https://git.launchpad.net/kicad/patch/?id=8ce04d3362518cf1a54e87cb8d5bf3bd183955ed

Changed in kicad:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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