Grid thickness: 1.5, weired zoom artifacts

Bug #1816748 reported by Thomas Pointhuber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Seth Hillbrand

Bug Description

When setting the Grid thickness to 1.5, I see the grid changing after every zoom step quite a bit. Setting it to 1 or 2 fixes the problem.

# Version Information

Application: kicad
Version: (5.1.0-rc1-110-gf40dfa276), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.63.0 OpenSSL/1.1.1a zlib/1.2.11 libidn2/2.1.0 libpsl/0.20.2 (+libidn2/2.1.0) libssh2/1.8.0 nghttp2/1.35.1
Platform: Linux 4.20.6-arch1-1-ARCH 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.63.0
    Compiler: Clang 7.0.1 with C++ ABI 1002

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

Tags: pcbnew
Revision history for this message
Thomas Pointhuber (pointhi) wrote :
Revision history for this message
Seth Hillbrand (sethh) wrote :

I assume that this is in Accelerated. Is that correct?

Also, I'm not quite sure what I'm looking for when you say changing. Can you say a bit more about it? I'm afraid the video didn't quite clear it up for me. Do you mean that at 1.5, the grid thicknesses don't always show major ticks?

Revision history for this message
Thomas Pointhuber (pointhi) wrote :

Yes, It's in Accelerated.

with Changing I mean:

zoom steps:

0: rough grid
1: grid basically disappears
2. grid is back to style like in (0)
3. fine grid
4. fine grid, but visually very different (you can actually differ between grid-points and the rough grid)
5. fine grid like in (3)

Revision history for this message
John Beard (john-j-beard) wrote :

With the new pixel-snapped grids, do fractional pixels even make sense any more for the OpenGL grid?

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

Fixed in 30612ca62d

Changed in kicad:
assignee: nobody → Seth Hillbrand (sethh)
milestone: none → 5.1.0
status: New → 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.

Other bug subscribers

Remote bug watches

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