Zoom to Fit broken on gal with no items on board

Bug #1742140 reported by Jon Evans
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Jon Evans

Bug Description

Reported by Clemens Koller

On fresh Pcbnew install (config file removed), Cairo canvas, clicking "zoom to fit" jumps around randomly when there are no items placed yet. On OpenGL canvas, the button doesn't do anything. On Legacy canvas, the button zooms to fit the worksheet (seems like proper behavior)

---

Application: kicad
Version: (2018-01-08 revision 0e9c8a423)-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.29.0
Platform: Linux 4.14.12-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.66.0
    Curl: 7.57.0
    Compiler: GCC 7.2.1 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=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

Tags: gal
Jon Evans (craftyjon)
Changed in kicad:
importance: Undecided → Low
status: New → Confirmed
tags: added: gal
Jon Evans (craftyjon)
Changed in kicad:
assignee: nobody → Jon Evans (craftyjon)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 5fd1236d7a5a4ce947b3bd36ef93d784923535c0
https://git.launchpad.net/kicad/patch/?id=5fd1236d7a5a4ce947b3bd36ef93d784923535c0

Changed in kicad:
status: Confirmed → 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.