[eeschema][Linux] certain grid dots dissapearing after zoom or middle mouse drag

Bug #1836457 reported by Lada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Unassigned

Bug Description

Hello all,

I noticed an interesting behaviour of the grid dots in eeschema in version 5.1.2 on Linux (Fedora 30). The thing is that sometimes (but very often) when I zoom/unzoom or drag ussing the middle mouse button, the "minor" grid dots disappear and only the "big ones" remain. A left click or change of zoom usually bring the missing dots back. Please see the attached short screen capture documenting this.

Window version 5.1.2 does not exhibit this behaviour (tested on the same computer via dualboot). Also Linux version 5.0.2 does not do this. I also experimented with building using GTK+ 2 and 3, but this made no difference. Running a custom build of 5.1.2 or Fedora's package doesn't make a difference either. This suggests that this might be Linux (Fedora?) and 5.1 specific thing.

I'll gladly play with more combinations and provide more details if you want me to.

The details for the build used in the screen capture:

Application: KiCad
Version: (5.1.2-194-gf11d95044), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1c zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.8.7/openssl/zlib nghttp2/1.38.0
Platform: Linux 5.1.16-300.fc30.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.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 9.1.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=ON

Tags: eeschema
Revision history for this message
Lada (sumis) wrote :
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote :

Can't say I've ever noticed this on macOS or Windows so looks like its specific to Linux. Can you test 5.1 nightlies, the new 5.1.3 release and master branch nightlies?

@Devs, any ideas?

Changed in kicad:
status: New → Incomplete
Revision history for this message
Seth Hillbrand (sethh) wrote :

I've noticed this. Definitely odd but it reproduces on Debian

Changed in kicad:
status: Incomplete → Triaged
importance: Undecided → Low
milestone: none → 5.1.4
Revision history for this message
Lada (sumis) wrote :

Thank you both for your replies. Not sure if this is still relevant when the bug was triaged already, but I tested master branch nightly as well as the latest 5.1 branch and both of them suffer from this issue. I haven't had a chance to test the new 5.1.3 release though.

Just in case, the version information of the builds I tried:

Application: KiCad
Version: 6.0.0-unknown-r16515-d4e9ddc1, debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.65.3 OpenSSL/1.1.1c-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.0/openssl/zlib nghttp2/1.38.0
Platform: Linux 5.1.20-300.fc30.x86_64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.65.3
    Compiler: GCC 9.1.1 with C++ ABI 1013

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

Application: KiCad
Version: (5.1.3-17-gd482a8805), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.65.3 OpenSSL/1.1.1c-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.0/openssl/zlib nghttp2/1.38.0
Platform: Linux 5.1.20-300.fc30.x86_64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.65.3
    Compiler: GCC 9.1.1 with C++ ABI 1013

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

Changed in kicad:
milestone: 5.1.4 → 5.1.5
Revision history for this message
Seth Hillbrand (sethh) wrote :

I believe that this issue has been resolved in recent commits (after 5.1.4). @Lada, can you test this to see if you still experience the issue?

Changed in kicad:
status: Triaged → Incomplete
Revision history for this message
Lada (sumis) wrote :

I won't get to my computer until Monday, but I've just quickly tested the latest 5.1 branch on a different PC running Fedora 29 and the issue is no longer present. I'll double check that on Monday using my laptop with Fedora 30, but I'm pretty sure the issue won't be present. Thanks!

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

Excellent. Thank you for reporting back. I'll set this to Fix Committed and we can re-open if you observe it again.

Changed in kicad:
status: Incomplete → Fix Committed
Revision history for this message
Lada (sumis) wrote :

As promised, I checked the latest 5.1 branch (version information below) using my own computer and I've made some interesting observation. At first, the issue was still there, which really surprised me. I started playing around and when I removed Kicad's config (i.e. renamed the folder "kicad" in /home/USER/.config") the issue disappeared. So it must have been caused by some setting(s) from some previous 5.1.x build. Just out of curiosity - is it possible that this whole bug was just about something wrong in the config file?

Anyway, thank you all very much for you help!

Application: KiCad
Version: (5.1.4-42-ga43a228f7), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.65.3 OpenSSL/1.1.1c-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.0/openssl/zlib nghttp2/1.39.2
Platform: Linux 5.2.9-200.fc30.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.69.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.65.3
    Compiler: GCC 9.1.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=ON

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.

Other bug subscribers

Remote bug watches

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