Hotkey for switching zones view

Bug #1759574 reported by Felix Pflaum
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Wishlist
Jeff Young

Bug Description

As it is difficult to route a PCB with zones filled, it would be great to be able to switch between filled-zones-mode and unfilled-zones-mode by hotkey.

I usually work with the option "Do not show filled areas" in zones but if I want to see if my routing caused problems with the filled polygon I always have to switch modes by clicking and then switch back.

I am aware of the hotkeys "Ctrl+B" and "B" but "Ctrl+B" does not just remove the filling but also causes airwires between all the pins connected to the polygon, which is quite confusing and disturbing.

My suggestion would be:
- Introduce a new hotkey (maybe Alt+B) to switch to "Do not show filled areas in zones"
- Make the "B" hotkey not only (re)fill areas but switch to "Show filled areas in zones"-view, too.

Tags: pcbnew
Jon Evans (craftyjon)
Changed in kicad:
importance: Undecided → Wishlist
tags: added: pcbnew
removed: wishlist
Revision history for this message
Jeff Young (jeyjey) wrote :

The three toolbar zone display modes are available in the hotkeys list as a result of the new hotkeys architecture.

I've also added a toggle which cycles through the three modes.

None have default hotkey assignments, but a user is free to assign them as they wish.

Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
status: New → In Progress
milestone: none → 6.0.0-rc1
Revision history for this message
Felix Pflaum (fixxl) wrote :

Thanks to your work I can now assign hotkeys for "Fill zones" (Alt+B) and "Wireframe zones" (Alt+V) and the hotkeys also are shown properly in the menu on the latest Windows nightly.

However, switching via hotkey does not have any effect, the drawing mode can only be switched via clicking in the menu or via the buttons on the left. The first time I try one of the two hotkeys the windows seems to refresh but does not change the drawing mode, subsequent hotkey presses do not have any visible effect at all.

Application: Pcbnew
Version: (5.1.0-1079-g57a60a32f), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    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

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: In Progress → Fix Committed
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.