sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
12.94k stars 1.67k forks source link

Synchronize Current Page to Document Tree #4334

Open TheSQLGuru opened 1 week ago

TheSQLGuru commented 1 week ago

While searching a document that has an index tree in the left pane, a user should be able to easily synchronize the active tree location with the currently active document page that has the found location highlighted.

This feature (synchronizing document to tree) should always be available, because scrolling to a location would also be a point where a user would want to sync the tree. During this scenario, the active tree entry should be moved the one best representing the CURRENTLY SHOWING document page - NOT the page where the "focus" is/was. There may be other scenarios where this feature could be useful.

Oh, I want to give a BIG THANKS to the team for their efforts! It is wonderful to see Sumatra making progress!

GitHubRulesOK commented 1 week ago

The PDF Document "Outline" is a list of "goto"s thus a selection on the left is a goto on the right there are no page related outlines so the pages have no concept of an "outline" or how many bookmarks/named destinations are "incoming"

However SumatraPDF does keep the 2 in "sync" so as I scroll on the right the current come from bookmarks is highlighted on the left So if I physically highlight my focus (preface) that is where I am in both the left and right image

I have to guess from your description that what you mean is when there are more than one in right hand side it is the topmost that is focused on the left, and that is because page 4 is still the dominant page. image