Modify

Opened 5 years ago

Closed 4 years ago

Last modified 17 months ago

#1478 closed enhancement (fixed)

[Patch] Allow deletion of multiple keys

Reported by: again@… Owned by: anonymous
Priority: minor Component: Core
Version: latest Keywords:
Cc: again@…, joshdoe

Description

If a node/way has many keys and one wants to delete them all, each one has to be left-clicked and can then be deleted. It would be useful if all or some of them could be selected with Shift/Ctrl+LeftMouse, so that a click on "Delete" deletes the selected ones.

Attachments (2)

PropDiag.patch (2.7 KB) - added by xeen 4 years ago.
PropDiag2.patch (2.7 KB) - added by xeen 4 years ago.
This is probably the nicer version

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by again@…

  • Cc again@… added

comment:2 Changed 5 years ago by xeen

Also, it would be nice if upon deletion it would focus the next tag instead of nothing.

comment:3 Changed 4 years ago by xeen

  • Owner changed from framm to anonymous
  • Status changed from new to assigned
  • Summary changed from Allow deletion of multiple keys to [Patch] Allow deletion of multiple keys

The attached patch doesn't fix the original request. I'm not too fond of adding multiple selection to the tag editor when the only thing you can do with it is delete tags. Also, it would be the only (sidebar) dialog that allows multiple selection (only places I know are mappaint and customize toolbar in the options dialog). I'd like to hear other opinions before I continue.

The patch does the following:

  • trim keys/values on add/edit
  • on edit re-select the edited key
  • on delete, select the next key (this makes deleting all keys much easier than it is now)
  • (By the way: Is the indentation default now two or four spaces?)

Changed 4 years ago by xeen

Changed 4 years ago by xeen

This is probably the nicer version

comment:4 Changed 4 years ago by anonymous

  • Resolution set to fixed
  • Status changed from assigned to closed

Applied in r1268.

comment:5 Changed 17 months ago by joshdoe

  • Cc joshdoe added

There is now a patch for this in #6883.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.