sumatrapdf icon indicating copy to clipboard operation
sumatrapdf copied to clipboard

Add a button in the toolbar to show/hide the Table of Contents

Open user1823 opened this issue 2 years ago • 3 comments

Currently, showing/hiding the Table of Contents requires going to the Menu → View → Show Bookmarks.

However, this is such a frequent action that having a button in the toolbar would be better. I know that it can also be shown/hidden by the keyboard shortcut F12, but I think that it would still be better to have a button.

Just to give an example, the PDF viewer in Microsoft Edge shows it this way: image

user1823 avatar Nov 26 '23 14:11 user1823

if every key had a button it would be as big as OSK (on screen keyboard) and that on some devices can be more than half the screen

Core MuPDF has no icons at all so SumatraPDF has one basic improvement a very minimalist set about 10 icons to fill the screen one to open files and only most recently 2 to rotate the page (when needed by PDF as other formats did not need that enhancement).

GitHubRulesOK avatar Nov 26 '23 16:11 GitHubRulesOK

Really this is not an issue as there are many controls that do not fit the requirement for an additional icon being essential above all others, and the F12 can be set to any shortcut you want except programmable icons.

if 4 programmable icons were added then the next issue is 5 and....

GitHubRulesOK avatar Nov 26 '23 16:11 GitHubRulesOK

I get it that not all controls can be added to the toolbar. However, all of the PDF viewers I use have a prominent shortcut for showing/hiding the Table of Contents. So, I think that it is important enough to be included in the toolbar.

Microsoft Edge: image

Firefox: image

Adobe Acrobat DC: image

user1823 avatar Nov 26 '23 17:11 user1823

It is easy to add custom keyboard shortcuts.

However Configuring toolbar is tracked by https://github.com/sumatrapdfreader/sumatrapdf/issues/1956

GitHubRulesOK avatar Jul 19 '24 23:07 GitHubRulesOK

Toolbar is now customizable https://www.sumatrapdfreader.org/docs/Customize-toolbar

kjk avatar Aug 05 '24 22:08 kjk

Toolbar is not customizable https://www.sumatrapdfreader.org/docs/Customize-toolbar

:-) Toolbar is NOW customizable https://www.sumatrapdfreader.org/docs/Customize-toolbar

GitHubRulesOK avatar Aug 05 '24 22:08 GitHubRulesOK