#6883 closed enhancement (fixed)
property toggle dialog: possibility to select and perform actions on several entries at once.
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | property select | Cc: | joshdoe |
Description (last modified by )
I like to have a possibility to select several entries at the property toggle dialog and perform actions on them like delete, copy key/value ...
Have a look at #6857 for some background.
The best solution for "Edit" needs to be discussed. See ticket/6857
Thanks for your work !
Attachments (2)
Change History (13)
follow-up: 2 comment:1 by , 14 years ago
comment:2 by , 14 years ago
Replying to stoecker:
I think this was already requested in the past and I still feel that it would be much more dangerous to implement this than it would bring benefits. We improved the selection e.g. after delete, so deleting multiple elements most time means to press delete repeatedly.
Actually, important for me in first place would be a copy key+value action on several entries.
I notized that in the relations toggle dialog some actions are disabled when several entries (relations) are selected.
by , 13 years ago
Attachment: | delete_multiple_properties.diff added |
---|
allow deletion of multiple properties or tags
comment:3 by , 13 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
follow-up: 6 comment:5 by , 13 years ago
I don't see how this is dangerous. You normally don't select multiple properties, and it is pretty clear and straight forward behaviour anyway.
follow-up: 7 comment:6 by , 13 years ago
Replying to bastiK:
I don't see how this is dangerous. You normally don't select multiple properties, and it is pretty clear and straight forward behaviour anyway.
I'd agree. One thing I'm not sure about though is that right now multiple commands are issued for the deletion, so if you delete 10 tags than you'd have to run the undo command 10 times. Should I implement a new command that deletes multiple tags?
comment:7 by , 13 years ago
Replying to joshdoe:
Replying to bastiK:
I don't see how this is dangerous. You normally don't select multiple properties, and it is pretty clear and straight forward behaviour anyway.
I think the normal focus behaviour (click to focus) is much more dangerous. At least speaking for myself. See comment:12:ticket:3278
I'd agree. One thing I'm not sure about though is that right now multiple commands are issued for the deletion, so if you delete 10 tags than you'd have to run the undo command 10 times. Should I implement a new command that deletes multiple tags?
This way you might be able to only undo some changes. (You can always undo many steps at once in the command stack dialog.)
Only real problem, I see is with un/redo.
by , 13 years ago
Attachment: | modify_multiple_properties_at_once.patch added |
---|
comment:8 by , 13 years ago
Summary: | property toggle dialog: possibility to select and perform actions on several entries at once. → [patch] property toggle dialog: possibility to select and perform actions on several entries at once. |
---|
comment:9 by , 13 years ago
Thanks for committing the patch bastiK.
The above patch (attachment:modify_multiple_properties_at_once.patch) modifies ChangePropertyCommand to support modifying (including deleting) multiple properties of multiple objects at once (creating just one command instead of multiple commands as now). This improves speed when deleting many tags (e.g. TIGER tags) on many objects, since each object is only iterated over once and begin/endUpdate() is only executed once. The patch also uses this command when deleting multiple properties, which is why I am attaching this here.
I tried to reduce redundant code as much as possible, but if it is preferred to have a dedicated code path for deleting single properties let me know.
comment:11 by , 13 years ago
Summary: | [patch] property toggle dialog: possibility to select and perform actions on several entries at once. → property toggle dialog: possibility to select and perform actions on several entries at once. |
---|
I think this was already requested in the past and I still feel that it would be much more dangerous to implement this than it would bring benefits. We improved the selection e.g. after delete, so deleting multiple elements most time means to press delete repeatedly.