[Ui / Wish] W / Ctrl+W hotkeys to modify selected track width

Bug #1814908 reported by Laurent Haas
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Low
Jeff Young

Bug Description

Currently, the W / Ctrl + W hotkey to modify the track width only works when routing. It should also work when a segment / track / net is selected. The only way is to edit (E) the track properties and use the combo box inside this dialog, which is pretty tedious.

Application: kicad
Version: (6.0.0-rc1-dev-1681-g5edf3503c), 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 7 (build 7601, Service Pack 1), 32 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 7.3.0 with C++ ABI 1011

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=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

Tags: hotkeys pcbnew ui
Revision history for this message
John Beard (john-j-beard) wrote :

I agree there should be a proper hotkey for adjusting the width of selection (or under the cursor).

FYI, you can currently use the "Edit action changes track width" to enable a grandfathered legacy behaviour and co-opt the "E" key to set the track width to the current active width in the drop-down (which you *can* set with W/Ctrl-W).

Revision history for this message
Laurent Haas (efcis) wrote :

Thanks John for the tip.

Just a note : In that case (grandfathered bahaviour ;-) ), the properties dialog is not accessible anymore, even with the contextual menu. "Choose your poison" as they say !

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I wouldn't get too comfortable with this work around. In fact, it wont be available on linux builds with gtk3 because the legacy canvas is disabled. This will be the case for all platforms in the next version. I seem to remember a similar bug being reported so if someone finds it, please mark this bug as a duplicate.

Changed in kicad:
status: New → Triaged
importance: Undecided → Low
milestone: none → 6.0.0-rc1
Revision history for this message
John Beard (john-j-beard) wrote :

@Laurent: That bit is definitely a bug! The context menu should certainly still open the properties dialog!

As Wayne says, this is a legacy workaround that we should fix with a real hotkey in v6 and remove the "E" key option, which is non-obvious at best (and broken at worst!)

Revision history for this message
Jeff Young (jeyjey) wrote :

New behaviour: if there's a selection that contains nothing more than tracks and vias, its tracks or vias will be increased/decreased. Otherwise it works like it did before: it increases/decreases the current track width or via size settings (as seen in the popup menus in the auxiliary toolbar.

Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
status: Triaged → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: In Progress → Fix Committed
tags: added: pcbnew
tags: added: hotkeys ui
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.