3D model select dialog does not use standard file dialog layout and location selection

Bug #1819837 reported by energijapanikoj@gmail.com
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

Steps to reproduce:

 * Open project in kicad
 * Open pcbnew
 * Press 'e' on a footprint
 * Go to '3D settings'
 * Click Folder button to add a new 3D model

In the dialog a system-wide 3D model directory is open in the left pane, but project directory is selected in 'Paths' dropdown -- see attached screenshot.

I would like the left file selector pane to display the project directory as selected in dropdown by default as usually I have my custom 3D models in my project directory. Now I have to select any other directory in paths dropdown, then select my project directory again for the file selector pane to update.

Application: kicad
Version: 5.1.0-rc2-unknown-d2d2101~82~ubuntu16.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.15.0-30-generic 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.58.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    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

Revision history for this message
energijapanikoj@gmail.com (energijapanikoj) wrote :
Revision history for this message
Seth Hillbrand (sethh) wrote :

I cannot agree more that this selection dialog needs to be fixed.

Changed in kicad:
status: New → Triaged
importance: Undecided → Low
milestone: none → 6.0.0-rc1
summary: - When selecting 3D model for a footprint wrong directory is open by
- default
+ 3D model select dialog does not use standard file dialog layout and
+ location selection
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Seth, I agree that the file selector part of this dialog needs some work but the user is only requesting that the default path is the current project path. In principal I agree with this but there is an equally valid argument that the default path should be where the 3D models are located. I personally prefer the project path but that may not be the consensus.

Revision history for this message
Seth Hillbrand (sethh) wrote :

@Wayne- We currently have shortcuts for the project directory (and other standard paths) in the dropdown menu at the bottom. Because the project path is selected in the dropdown but not in the tree, the user needs to select a different item and then back to the project path. We could simply make the dropdown match the tree (maybe even for 5.1.1?).

However, I've had fixing this dialog on my list for a while, so rather than partially patch it up, I'd like to fix completely during 6.

Revision history for this message
energijapanikoj@gmail.com (energijapanikoj) wrote :

All I am concerned with is discrepancy.

It would benefit me personally if it was both tree and dropdown on the project directory, but I also would be fine if both dropdown and tree would point to the system 3d model folder.

From my experience, all the existing footprints already have 3d models assigned to them, so as I am creating a new footprint I also download or create a new 3d model for it - usually in the project directory. Thus in my opinion it is better to show project directory by default, but I will not force this opinion on developers as I know everyone has their own workflow.

tags: added: 3d-viewer pcbnew ui
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/1876

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Low → Unknown
status: Expired → New
Changed in kicad:
status: New → 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.