Changing any preference sets icon scale to some default value

Bug #1804926 reported by Rene Poeschl on 2018-11-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Undecided
Jeff Young

Bug Description

Reproduce: Step 0 remove your current config to ensure kicad is in the state it would be on first launch.
In any kicad tool open the preferences dialog. Clicking ok will change the scale of icons. (On one of my pcs it made them very small on others it made them huge)
This is best observed while in eeschema or some other tool (Not really visible in the kicad main window)

The reason seems to be that kicad does not initially set a value for icon scale in the kicad_common file. Opening the preferences menu however enters some value to it. Might it be a good idea to have the icon scale set to automatic on first setup? (Or keep the missing value if the slider has not moved)

Tested in both windows and fedora.

Fedora version info (Under windows i used one from end of October):
Application: kicad
Version: 6.0.0-rc1-unknown-r14484-ed6c68a1, debug build
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/0.8.5/openssl/zlib nghttp2/1.32.1
Platform: Linux 4.18.18-200.fc28.x86_64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.66.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.59.0
    Compiler: GCC 8.2.1 with C++ ABI 1013

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=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=OFF

Jeff Young (jeyjey) on 2018-11-24
Changed in kicad:
status: New → In Progress
assignee: nobody → Jeff Young (jeyjey)
milestone: none → 5.1.0
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 05d9f49d25695f7cb95aee8867ee8375ba17880a
https://git.launchpad.net/kicad/patch/?id=05d9f49d25695f7cb95aee8867ee8375ba17880a

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  Edit
Everyone can see this information.

Other bug subscribers