Delete entire track

Bug #1517213 reported by Nick Østergaard
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
John Beard

Bug Description

In the legacy canvas it is possible to delete a complete track. This is not possible in GAL as with the legacy behaivour, which I thinks is really nice.

In legacy you can hover over a track and hit the delete key and the track gets removed. If you hot backspace it deletes the segment.

It is possible to delete an entire track in GAL, but you have to select the track by hover+U and then hit the delete key.

This issue asks to get the legacy behaivour ported to GAL.

tags: added: cen gal
Jon Neal (reportingsjr)
tags: added: cern
removed: cen
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Ctrl+click doesn't actually select the track, it highlights the net (it's a shortcut for the "highlight net" tool). It's just a visual effect to help you see where the net goes. To select the track for deletion, press U over it - *then* you can delete the whole thing.

Changed in kicad:
status: New → Invalid
Revision history for this message
Nick Østergaard (nickoe) wrote :

I will not consider this bug itself as invalid. The wording of the description might needed to be corrected.

The goal of this issues is to highlight that there is no way to delete a track as in legacy.

Changed in kicad:
status: Invalid → Won't Fix
status: Won't Fix → New
description: updated
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

But... I just told you how.

"To select the track for deletion, press U over it - *then* you can delete the whole thing."

O_o

Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

Hi guys,

I think we should add the legacy deletion mode (hover+delete for entire track) as an option. Can work on it when the 4.0 is out.

Tom

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1517213] Re: Delete entire track

I would add that the current hover+delete action in the GAL canvas
(delete segment) be changed to hover+backspace to be consistent with the
legacy canvas behavior.

On 11/18/2015 12:46 PM, Tomasz Wlostowski wrote:
> Hi guys,
>
> I think we should add the legacy deletion mode (hover+delete for entire
> track) as an option. Can work on it when the 4.0 is out.
>
> Tom
>

Revision history for this message
Nick Østergaard (nickoe) wrote :

Ok, I will reformulate the description to match the with to get legacy hover+delete and hover+backspace deletion options "back".

description: updated
Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Would it make sense to associate 'Remove entire track' with Backspace key instead of Delete key? This way we may have more consistent behavior: Delete key always removes a single object under the mouse cursor, whereas Backspace is a special case which removes entire connection (only for tracks/vias).

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

This behavior would be the opposite of the legacy canvas and most likely
lead to confusion. In the legacy canvas backspace removes a segment and
delete removes the entire trace. I would prefer that the behavior be
the same as the legacy canvas as much as possible. If users prefer the
opposite key mapping than change that in the hotkey editor but I don't
recall anyone ever complaining about the legacy canvas behavior.

On 5/4/2016 8:15 AM, Maciej Sumiński wrote:
> Would it make sense to associate 'Remove entire track' with Backspace
> key instead of Delete key? This way we may have more consistent
> behavior: Delete key always removes a single object under the mouse
> cursor, whereas Backspace is a special case which removes entire
> connection (only for tracks/vias).
>

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

You are right, but currently Delete key removes a single segment in GAL. Quite likely the users have already got used to it, so the change should be that painful, or perhaps even I would surprise people if I changed the way it works now.
What we gain here is consistency. Minor bonus is no ugly "if(item->Type() == TRACK) { selectTrack(); }", which keeps code responsible for item removal generic.

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

IMO if it doesn't honor the users hotkey configuration, it's a bug. As
of right now, the delete hotkey is mapped to delete trace and backspace
is mapped to delete segment but the gal canvas ignores this and uses
delete to delete a track segment. While I applaud your goal of
preventing the select code from being ugly, ignoring user configuration
settings is not really acceptable. I don't understand why this would
even impact the selection code, the point of hotkeys is to eliminate the
selection step and perform the action on the object under the current
cursor location immediately. If you want to change the selection
behavior where say a second left mouse button click would select the
entire trace and use the delete key than that's fine by me but this
shouldn't change the hotkey behavior.

On 5/4/2016 8:43 AM, Maciej Sumiński wrote:
> You are right, but currently Delete key removes a single segment in GAL. Quite likely the users have already got used to it, so the change should be that painful, or perhaps even I would surprise people if I changed the way it works now.
> What we gain here is consistency. Minor bonus is no ugly "if(item->Type() == TRACK) { selectTrack(); }", which keeps code responsible for item removal generic.
>

Changed in kicad:
assignee: nobody → John Beard (john-j-beard)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: New → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
Revision history for this message
Michael (mangelozzi) wrote :

For me with verion 5.99, hover and backspace does nothing. Also under hotkeys it lists "Shift-Del", however it does not delete selected copper items, acts the same as "Del" for me.

Revision history for this message
Niki Guldbrand (niki-guldbrand-net) wrote :

Hi Michael.

KiCAD has moved development and bugtracking to gitlab at https://gitlab.com/kicad/code/kicad, and you can file a new bug at https://gitlab.com/kicad/code/kicad/-/issues/new, and follow the instructions in the new issue template.

You can add a link/reference to this bug to the description, to continue this issue there.

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.