sumatrapdf icon indicating copy to clipboard operation
sumatrapdf copied to clipboard

[Feature Request] Support the floating bookmark windows on 1440*2560 screen

Open zhang-stephen opened this issue 1 month ago • 4 comments

Is your feature request related to a problem? Please describe. The bookmarks on the left side is a wasting for screen with 1440*2560 or other resolution like, e.g. the screenshot shows that:

Image

Describe the solution you'd like Add a button on the toolbar to open bookmark as a floating window, and the floating window could be hidden if it lost the focus. The button could be binded to a shortcut, e.g. F12 as currently. Thank you~

Describe alternatives you've considered N/A

Additional context N/A

zhang-stephen avatar Dec 07 '25 17:12 zhang-stephen

Splitting out a floating panel whist possibly makes for a lot of code where the current F12 can be considered like a pop out popin navigator. But you could add your own in windows code.

This one could be adapted to show the page tree rather than a library of lookups but that needs replace the custom list with the document outline via command line tools

Image

GitHubRulesOK avatar Dec 07 '25 19:12 GitHubRulesOK

Splitting out a floating panel whist possibly makes for a lot of code where the current F12 can be considered like a pop out popin navigator. But you could add your own in windows code.

This one could be adapted to show the page tree rather than a library of lookups but that needs replace the custom list with the document outline via command line tools

Does it dependency on AutoHotKey? I am afraid of it cannot be used in the workplace due to IT policy.

zhang-stephen avatar Dec 08 '25 08:12 zhang-stephen

AutoKey and SumatraPDF are both Portable Open Source so no reason for an IT policy ban. However that CMD file is Open Source C#.net (like the ones you can write yourself) so not AutoKey but more powerfull. It does have a dependency on Windows.Net Frameworks 4 being installed as native Windows 10/11 with some user authority, since like any user's VB compiler app it can rewrite all of Windows.

Basic test for dependency is can you see a reply from

dir C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe

if you see
Directory of C:\Windows\Microsoft.NET\Framework\v4.0.30319 03/12/2024 ##### AM 2,154,992 csc.exe

or similar it should run

GitHubRulesOK avatar Dec 08 '25 09:12 GitHubRulesOK

So the code needed will be specific to the means of how ebooks hold locations and this test file may on occasion be the page before since eBook and pdf use different methodologies

PDF use fixed page numbers, but ebooks need to scan for text entries (Named Destinations)

Image Image

GitHubRulesOK avatar Dec 08 '25 13:12 GitHubRulesOK