Bug 315894

Summary: Usability: Allow to edit entries in the search result list view
Product: [Applications] korganizer Reporter: Kevin Funk <kfunk>
Component: searchAssignee: kdepim bugs <kdepim-bugs>
Status: REOPENED ---    
Severity: wishlist CC: winter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kevin Funk 2013-02-28 11:46:36 UTC
Simple Use-case: Trying to delete all entries with a specific title prior to a specific date.

This is not possible at the moment afaics.

How to reproduce:
- Search for events in korganizer
- It's not possible to edit/delete entries in the result view
Comment 1 Allen Winter 2013-03-18 00:26:17 UTC
How about a context menu on each result in the list view.
possible menu items are Edit, Delete, Print.  

I like this idea.
Comment 2 Kevin Funk 2013-03-18 01:00:30 UTC
+1, and a keyboard shortcut for delete.
Comment 3 Allen Winter 2020-03-28 21:02:38 UTC
the menu is there now since a few days ago.
will be included with 5.14

I didn't add the shortcuts yet.
Comment 4 gjditchfield 2021-07-27 01:13:04 UTC
Git commit 48485e4fbdc7b70a30972bb3ac2d529b987746aa by Glen Ditchfield.
Committed on 26/07/2021 at 01:14.
Pushed by gditchfield into branch 'release/21.08'.

Bind keyboard shortcuts in the Search dialog's results

Bind the Delete key to the "Delete" action, and Return to "Edit...".
This finishes off

M  +22   -0    src/dialog/searchdialog.cpp
M  +2    -0    src/dialog/searchdialog.h

https://invent.kde.org/pim/korganizer/commit/48485e4fbdc7b70a30972bb3ac2d529b987746aa
Comment 5 Allen Winter 2021-10-23 21:43:15 UTC
Glen,
I reverted https://invent.kde.org/pim/korganizer/commit/48485e4fbdc7b70a30972bb3ac2d529b987746aa

Because I can no longer have the search run if I press the <return> key in the search lineedit. Now I need to click on the Search button to start the search.

For deleting all hits, don't we really want multi-item selection and then a context menu for delete?  @Kevin, thoughts?

A [Del] shortcut on the delete menu item also would be a good idea.