libedit "Field Properties" way too wide with long field text

Bug #1676178 reported by Chris Pavlina
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Jeff Young

Bug Description

If I am editing a component with a very long field (datasheet URL for instance can be insane), the Field Properties dialog is extremely wide (doesn't fit on screen). Worse, when I try to resize it to fit properly on my screen, I get something like this: https://misc.c4757p.com/this-is-not-what-I-had-in-mind.png

I suggest making the table of fields horizontally scrollable, putting it inside a wxSplitterWindow, and giving it a maximum width.

Application: kicad
Version: (2017-03-24 revision 4011ed4e3)-master, debug build
Libraries: wxWidgets 3.0.2
           libcurl/7.53.1 OpenSSL/1.0.2k zlib/1.2.11 libpsl/0.17.0 (+libicu/58.2) libssh2/1.8.0
Platform: Linux 4.10.5-1-ARCH x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.63.0
Curl: 7.53.1
KiCad - Compiler: GCC 6.3.1 with C++ ABI 1010
        Settings: USE_WX_GRAPHICS_CONTEXT=OFF
                  USE_WX_OVERLAY=OFF
                  KICAD_SCRIPTING=ON
                  KICAD_SCRIPTING_MODULES=ON
                  KICAD_SCRIPTING_WXPYTHON=ON
                  KICAD_SCRIPTING_ACTION_MENU=OFF
                  BUILD_GITHUB_PLUGIN=ON
                  KICAD_USE_OCE=ON

Tags: libedit
summary: - libedit "Field Properties" way too wide with long datasheet URL
+ libedit "Field Properties" way too wide with long field text
Revision history for this message
Maciej Suminski (orsonmmz) wrote :

I do not see the issue anymore, can you confirm it is fixed?

Changed in kicad:
status: New → Incomplete
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Definitely not fixed.

Application: kicad
Version: (2017-12-16 revision 845ca5f64)-master, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.57.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.28.0
Platform: Linux 4.14.8-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.65.1
    Curl: 7.57.0
    Compiler: GCC 7.2.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=OFF
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

Changed in kicad:
status: Incomplete → New
Revision history for this message
Jeff Young (jeyjey) wrote :

The default presentation is also poor as it shows 3 columns (when there are really only 2), which can be confusing.

Changed in kicad:
status: New → Triaged
Revision history for this message
Jeff Young (jeyjey) wrote :

Ultra-long URI's are neither typed (they're browsed to and then copied/pasted) nor read (they're clicked on). Therefore we don't really need to scale this column up to show all of them anyway.

The direct-edit version of this dialog will address this.

Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
milestone: none → 6.0.0-rc1
Jeff Young (jeyjey)
Changed in kicad:
status: Triaged → In Progress
Jeff Young (jeyjey)
Changed in kicad:
milestone: 6.0.0-rc1 → 5.1.0
Jeff Young (jeyjey)
Changed in kicad:
status: In Progress → 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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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