Bug 328576

Summary: Add keyboard shortcut for 'search previous' action: Shift+Enter
Product: [Applications] okular Reporter: Kevin Funk <kfunk>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: aacid
Priority: NOR Keywords: junior-jobs
Version: 0.17.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.13.0
Attachments: proposed patch

Description Kevin Funk 2013-12-09 14:47:34 UTC
Nearly every application that I use provides that shortcut for jump to previous occurrences of a search string: Shift+Enter. Currently this is only possible by default via Shift+F3.

Would be cool to have this as a default in Okular, too.

Reproducible: Always
Comment 1 Albert Astals Cid 2013-12-09 16:04:21 UTC
Patches welcome
Comment 2 Saheb Preet Singh 2013-12-30 08:04:53 UTC
Created attachment 84341 [details]
proposed patch

The attached patch applies to the file ui/searchlineedit.cpp and ui/searchlineedit.h

Added a key event listener to the SearchLineEdit for shift+return.

i am new to kde please guide me if something is wrong
Comment 3 Albert Astals Cid 2013-12-30 12:09:49 UTC
Hi, can you please put the patch up at https://git.reviewboard.kde.org/, it helps a lot with the reviewing
Comment 4 Albert Astals Cid 2014-03-04 00:08:45 UTC
This was implemented in https://git.reviewboard.kde.org/r/114754/