sumatrapdf icon indicating copy to clipboard operation
sumatrapdf copied to clipboard

Search my bookmarks like okular does.

Open nazar2sfive opened this issue 8 years ago • 5 comments

I want sumatrapdf to give me a search box on top of bookmarks to allow me to search just for bookmarks. This would allow me to quickly search for just the heading/subheading of a chapter.

image

nazar2sfive avatar Dec 09 '17 16:12 nazar2sfive

image

nazar2sfive avatar Aug 03 '19 02:08 nazar2sfive

IT should be posible for someone to add the needed alterations to the core code however it seem not to be a trivial request (unless in-part redirecting existing search). I tried to emulate what may be the desired actions using DOS console commands.

Admitedly this is NOT the way to go, but serves to highlight potential holes in any scope of requests I saved the following code as JUMP.cmd then at dos prompt used jump first few letters of filename then first few letters of bookmark e.g. Jump Examp Index (see my test runs below)

 @echo off && FORFILES  /M "%1*.pdf" /C "cmd /c start C:/Progra~1/SumatraPDF/SumatraPDF.exe -named-dest %2 @file"
  1. When you search for a bookmark (named destination) the search is often not case sensitive (I had issues in the past when there are different bookmarks with different cases.) There needs to be a similar Case Sensitive/insensitive togle as per document search.

  2. When you type partial bookmark entries, the search will stop at the first match, There needs to be a search Next and search Previous button (same as the main search)

  3. My experience suggests that I can use the main search methods almost as quickly as if there was one dedecated just to the bookmark area, however in larger files of more that a few hundred pages, I can appreciate the speed of jumping say 50% before a search starts.

Personally I would suggest such a feature could use the existing function controls but the search needs to be flipped between the two canvas areas e.g. it could be tied to using the current F6 toggle to provide a simple "either/or" solution.

Untitled

GitHubRulesOK avatar Aug 09 '19 02:08 GitHubRulesOK

i have found that wps office first searches bookmarks then start searching form pg1 to end. so bookmark search are first in priority if that is selected.

but i sincerely wish a seperate bar for searching bookmark like in okular. image

nazar2sfive avatar Aug 19 '19 10:08 nazar2sfive

Eight years have passed, and this problem still hasn't been fixed?

777vip avatar Jul 23 '25 14:07 777vip

I am also hoping for this feature, coming from okular. Didn't realize how useful it was until I did not have the ability.

RedCodeHero avatar Nov 12 '25 15:11 RedCodeHero