Sumatra PDF is a PDF, ePub, MOBI, CHM, XPS, DjVu, CBZ, CBR reader for Windows

V3.2 Auto expanding of bookmark folders

Hi everyone,

I’m just wondering is there any way to turn off automatic expanding of bookmark folders when scrolling? In v3.1.2 it was off by default, so I’m thinking there must be a way to turn it off in this version also.

As you can see here, I positioned myself on page 290, and as soon as I scroll to the next page, it immediately expands the bookmark folder.

I usually work with huge electric plans, 1000+ pages, so this would very quickly make the bookmark bar unreadable. Then I have to collapse it all, and then expand only the ones that I really want expanded.


Agreed that in the past when referencing file opening

kjk commented on 27 Jan 2015
Also, we do not automatically expand the nodes.

However, there have been lots of changes made under the hood to handle “Table of Contents” / Bookmarks (with still more potentially on the way)

As a consequence “Bookmarks” code is now significantly different with a few visible surface enhancements such as extra controls and in this case Navigational back tracking of current location in the ToC.

If you wish the behaviour regressed to “Not auto expand” like 3.1.2
Possibly with a user option AutoExpand = true / false then its best to raise as an issue at

The easy solution is to rapidly switch the navigation view off (X on the right of bookmarks pane) then use any other means of navigation such as scroll / keyboard then if you wish to again see bookmarks in that state use right click context menu or F12

I agree this is a problem. My document has a Chapter and when I go anywhere within the chapter the bookmark opens up to a huge list. It is cumbersome to scroll back up to where I can collapse it because the bookmark list is so long. It would be better to let the user do the expanding, as desired. I already posted my comment in the link you provided and I thank GitHubRulesOK for the prompt responses!

You dont need to scroll back it is a “tree control”
Just like in explorer or other apps hit left arrow the required number of times for the branch
or fastest right click bookmarks then “Collapse All”

I think there would be less problem with auto expand if it allowed a setting to also auto close non current branches

Left arrow works and makes it OK. For some reason I missed that in the keyboard controls, some of which seemed to have changed. I like that where you are in the expanded bookmarks now gets grayed according to where you are. Good improvement.

1 Like